palantir/blueprint

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

Open

#6300 opened on Jul 24, 2023

View on GitHub
 (1 comment) (1 reaction) (0 assignees)TypeScript (20,263 stars) (2,167 forks)batch import
P2Package: coreType: feature requesthelp wanted

Description

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

Contributor guide