You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It’s a common use case to enable tooltips only when the text in the tooltip target is truncated.
For example, we have a request to add this behavior for the DataTable column header name: #2710.
To Do
Let’s try to find a solution for detecting when a target node is overflowed and enabling tooltip by hover if yes. The solution should have minimal impact on performance (e.g., avoid triggering reflows on each render) and work for most general cases.
If it's possible, we can introduce a prop, such as enableWhenOverflowed (the naming should be carefully considered), to enable this behavior.
The text was updated successfully, but these errors were encountered:
Description
It’s a common use case to enable tooltips only when the text in the tooltip target is truncated.
For example, we have a request to add this behavior for the DataTable column header name: #2710.
To Do
Let’s try to find a solution for detecting when a target node is overflowed and enabling tooltip by hover if yes. The solution should have minimal impact on performance (e.g., avoid triggering reflows on each render) and work for most general cases.
If it's possible, we can introduce a prop, such as enableWhenOverflowed (the naming should be carefully considered), to enable this behavior.
The text was updated successfully, but these errors were encountered: