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
@Xiaohui0503, I see that in documentation it's suggested to use navigationMode="composite" but when I removed it, the tooltip started showing up. Probably this bug is not with Tooltip, but with the List/ListItem components.
Also, I noticed that Tooltip appears only while navigating inside of a list item. But Tooltip is not shown when the user goes from the top level of ListItem.
Hi @ValentinaKozlova , if I remove navigationMode="composite", the second button in the second list item will not be reached. Besides, in the List component document, it also suggest to use navigationMode="composite" when there are focusable elements inside each list item. (document list)
For the second point, I also find that this tooltip doesn't work when the user goes from the top level of ListItem. And tooltip will show while navigating inside of a list item.
I debug this code, and find maybe there is the root cause. (code link) Here, the isFocusedProgrammatically is true, but I'm confused why isNavigatingWithKeyboard is false here. Due to this condition, the next focus event is ignored.
Component
Tooltip
Package version
9.42.0
React version
18
Environment
Current Behavior
Tooltip doesn't show when entering the list item for the first time by keyboard
Expected Behavior
Tooltip should show when entering the list item for the first time by keyboard
Reproduction
https://stackblitz.com/edit/ruhioawp?file=src%2Fexample.tsx
Steps to reproduce
Are you reporting an Accessibility issue?
yes
Suggested severity
Urgent - No workaround and Products/sites are affected
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: