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

Disabled/hidden button as menu item breaks arrow keys #124

Open
OliverJAsh opened this issue Mar 9, 2020 · 2 comments
Open

Disabled/hidden button as menu item breaks arrow keys #124

OliverJAsh opened this issue Mar 9, 2020 · 2 comments

Comments

@OliverJAsh
Copy link

Reduced test case: https://stackblitz.com/edit/react-ts-41mm9f?file=index.tsx

  1. Open the menu button
  2. Press down arrow key, "foo" is selected
  3. Press down arrow key again

Actual: "foo" is still selected
Expected: "baz" should be selected. (The disabled item is skipped.)

@shirshendubhowmick
Copy link
Collaborator

Thanks for reporting. Will have a check

@OliverJAsh
Copy link
Author

This also happens for hidden items: https://stackblitz.com/edit/react-ts-me7dpb?file=index.tsx

@OliverJAsh OliverJAsh changed the title Disabled button as menu item breaks arrow keys Disabled/hidden button as menu item breaks arrow keys Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants