palantir/blueprint
在 GitHub 查看overflow text in NumericInput of non-active Tab inside Tabs
Open
#4,107 创建于 2020年5月2日
P3Package: coreType: bughelp wanted
描述
Environment
- Package version(s): 3.25.0
- Browser and OS versions: chrome 79.0.3945.79
If possible, link to a minimal repro: sandbox https://codesandbox.io/s/overflow-text-of-numeric-input-in-blueprint-js-5xv5g?file=/src/App.js
Steps to reproduce
- switch to none active tab
- type many 0s
Actual behavior

get overflow text that covers the button on the right side(in active tab, it renders fine, but in non-active tab, overflow text happens.)
Expected behavior
text should not be overflowed in both active/non-active tab
Possible solution
padding-right of input inside the NumericInput is always 0px in non-active tab, but 30px in active tab, dont know what is going on :(