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] Fixed Menu item not toggling highlighted prop when submenu popup is opened using keyboard #1310

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

onehanddev
Copy link
Contributor

Improve Menu Navigation and Fix Highlighting Issue

  • Fixed bug where parent expandable menu item is getting highlighted along with the its sub menu with keyboard navigation.
  • Improved navigation by resetting parent menu's highlight state when entering a submenu.

Fixes #1197

…s, allowing for dynamic updates to the active (highlighted) item index. This fixes not updating hover out behaviour of navigation for keyboard events.
Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 661c502
🔍 Latest deploy log https://app.netlify.com/sites/base-ui/deploys/677e83e848821500081f899a
😎 Deploy Preview https://deploy-preview-1310--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mui-bot
Copy link

mui-bot commented Jan 8, 2025

Netlify deploy preview

https://deploy-preview-1310--base-ui.netlify.app/

Generated by 🚫 dangerJS against 03c6581

@onehanddev
Copy link
Contributor Author

@atomiks Please disregard the older PR and review this one instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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