palantir/blueprint

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

Open

#6300 aperta il 24 lug 2023

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)TypeScript (2167 fork)batch import
P2Package: coreType: feature requesthelp wanted

Metriche repository

Star
 (20.263 star)
Metriche merge PR
 (Merge medio 43g 10h) (27 PR mergiate in 30 g)

Descrizione

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

Guida contributor