palantir/blueprint

EditableText does not provide native html title attribute, like Text do

Open

#6,300 建立於 2023年7月24日

在 GitHub 查看
 (1 留言) (1 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
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

  1. Use <EditableText /> with some limited width of its container.
  2. 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

貢獻者指南