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

fix broken megamenu keyboard naviagation #15407

Conversation

dobanisola-scottlogic
Copy link
Contributor

Defect Fixes

Fixes #15110
The megamenu keyboard navigation was not working because the visibleItems kept returning the default processedItem rather than the items from the current processedItem. I removed the logic that was comparing the key with the focusedItem's parentKey. I don't know what that was doing but I manually tested the menu and also added a unit test.

It would be great to have all the unit test fixed so it'll be easy to tell if a change has broken something or not.

Copy link

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Apr 30, 2024 10:20am

@cetincakiroglu
Copy link
Contributor

Hi,

We appreciate the effort and support! Thanks a lot for helping us to make PrimeNG better!

@cetincakiroglu cetincakiroglu merged commit 4565538 into primefaces:master May 3, 2024
3 checks passed
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.

MegaMenu | Keyboard navigation is broken
2 participants