-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[SG-36350] Accessibility: Global Menu
: Focus isn't correctly captured when menus are opened
#36915
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you take a look at this PR? We made some hacks on Popover implementation to prevent MenuList from removing from DOM when Popover is hidden.
As far as I can see these changes resolve the issue of losing focus on the first item when Menu is open and MenuList looks great with focus ring.
Just want to have your suggestions before continue fixing test issues
client/wildcard/src/components/Popover/components/popover-content/PopoverContent.tsx
Show resolved
Hide resolved
3ee68d2
to
f957358
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few comments, looking further into the forceHidden logic - I think it's OK though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…ed when menus are opened (#36915) * feat: keep MenuList in DOM when Menu is hidden Co-authored-by: gitstart-sourcegraph <[email protected]>
Description:
Refs
SourceGraph Issue
GitStart ticket
Test plan
App preview:
Check out the client app preview documentation to learn more.