palantir/blueprint

EditableText does not measure contents correctly when alwaysRenderInput=true

开放

#4,423 创建于 2020年11月17日

 (1 条评论) (3 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
P2Package: coreType: bughelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

...

贡献者指南