Skip to content
Discussion options

You must be logged in to vote

Hi @aposingh1234, the v9 Tooltip doesn't have this functionality built in because of accessibility concerns. The tooltip in this case isn't accessible to touch or keyboard users (assuming the text is not focusable), which makes the full text content only available to mouse users. You might consider other options to show the text, such as a button to expand the container.

That said, if you wanted to implement a tooltip that only showed when the text was truncated, it would be best to control the visible property of the Tooltip. Your code would listen to the onVisibleChange event, and calculate the visible property based on whether the content is overflowing (compare clientWidth/clientHeigh…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by khmakoto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants