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
We are rendering a Tooltip for ListBoxItem if it is truncated. And we want to show it when it is either hovered or focused. But it seems like the ListBoxItem is currently missing a onFocusChange event to know whether or not it is in focus.
Work to support Tooltips in Collections is under discussion here #7289.
For now, you can display the truncated name by instead wrapping, or using a gridlist layout with a button that shows the full name in a popover, or using selection/actions to open a panel displaying the name/metadata
@snowystinger thanks I have a solution in place where I evaluate if the SelectorItem is truncated in a custom hook. Just wanted to highlight that I think this should be a feature in the Item. Eventhough Tooltips might work out of the box in the Item in the future I still think some sort of event for focus would be great.
Provide a general summary of the feature here
We are rendering a Tooltip for ListBoxItem if it is truncated. And we want to show it when it is either hovered or focused. But it seems like the ListBoxItem is currently missing a onFocusChange event to know whether or not it is in focus.
🤔 Expected Behavior?
API example:
😯 Current Behavior
Currently no event do detect a focus change is exported.
💁 Possible Solution
No response
🔦 Context
This is a rough draft of what are working with today. We'd like to be able to do:
💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: