palantir/blueprint

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

开放

#6,300 创建于 2023年7月24日

 (1 条评论) (1 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
P2Package: coreType: feature requesthelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南