palantir/blueprint

EditableText does not measure contents correctly when alwaysRenderInput=true

Open

#4423 aperta il 17 nov 2020

Vedi su GitHub
 (1 commento) (3 reazioni) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: coreType: bughelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

Environment

  • Package version(s): core 3.36.0
  • Operating System: macOS
  • Browser name and version: Chrome 86

Code Sandbox

https://codesandbox.io/s/editabletext-alwaysrenderinput-bug-5x99u?file=/src/index.tsx (forked from https://github.com/palantir/blueprint/issues/3870#issue-530056037)

Steps to reproduce

  1. open the sandbox

Actual behavior

First EditableText is clipped, second one is full width of contents

Expected behavior

Both should display full width of contents

Possible solution

...

Guida contributor