Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Menu] Submenu triggers retain data-highlighted when focus has moved to submenu popup using keyboard #1197

Open
atomiks opened this issue Dec 20, 2024 · 0 comments
Labels
bug 🐛 Something doesn't work component: menu This is the name of the generic UI component, not the React module!

Comments

@atomiks
Copy link
Contributor

atomiks commented Dec 20, 2024

Pointer usage is unaffected since the root popup takes the focus when moving the pointer off, but this doesn't happen with keyboard usage.

Screenshot 2024-12-20 at 8 39 26 pm

A workaround appears to be adding :focus to [data-highlighted], as real focus is used:

&[data-highlighted]:focus {
  /* ... */
}
@atomiks atomiks added component: menu This is the name of the generic UI component, not the React module! bug 🐛 Something doesn't work labels Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: menu This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

1 participant