palantir/blueprint
在 GitHub 查看EditableText does not provide native html title attribute, like Text do
Open
#6,300 建立於 2023年7月24日
P2Package: coreType: feature requesthelp wanted
描述
Environment
- Package version(s): 5.0.0
- Operating System: MacOS & Windows
- Browser name and version: Chrome 114.0.5735.198
Steps to reproduce
- Use
<EditableText />with some limited width of its container. - Enter long text so its ellipsized
Actual behavior
If we hover over the text, we can't see the whole text
Expected behavior
<Text /> uses native html title attribute, so when we have ellipsized text inside of it, if we hover it, it will show whole text in the title attribute