Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文本省略 Ellipsis Tooltip功能失效( The Ellipsis Tooltip function is invalid ) #776

Closed
zguiyang opened this issue Aug 4, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@zguiyang
Copy link

zguiyang commented Aug 4, 2021

TuSimple/naive-ui version (版本)

2.15.9

Vue version (Vue 版本)

3.1.4

Browser and its version (浏览器及其版本)

91.0.4472.114

System and its version (系统及其版本)

Windows10

Node version (Node 版本)

v14.17.2

Reappearance link (重现链接)

https://codesandbox.io/s/falling-violet-xuhfp?file=/src/Demo.vue

Reappearance steps (重现步骤)

如果文字初始化的时候就超出了隐藏,就会有tootip展示,这时候动态更改文本内容后tooltip作用失效了

If the text is initialized beyond hiding, a tooTip is displayed, and the tooltip is disabled by dynamically changing the text content

Expected results (期望的结果)

组件中text文本动态更新长度后,tooltip能够正常的提示或隐藏

Tooltip can properly prompt or hide when the text in the component dynamically updates its length

Actual results (实际的结果)

组件中text文本动态更新长度后,tooltip会失效

Tooltip becomes invalid when text text in the component dynamically updates its length

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Aug 4, 2021
@Talljack Talljack self-assigned this Aug 4, 2021
@Talljack Talljack added bug Something isn't working and removed untriaged need to sort labels Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants