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 component keyboard navigation limited to two items #2623

Closed
asplem opened this issue Oct 4, 2022 · 2 comments
Closed

Menu component keyboard navigation limited to two items #2623

asplem opened this issue Oct 4, 2022 · 2 comments
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)

Comments

@asplem
Copy link

asplem commented Oct 4, 2022

What package has an issue

@mantine/core

Describe the bug

When using keyboard navigation with arow keys after expanding the Menu component, only the first two elements are accessible.

This can be demonstrated in both Chrome and Firefox, using both our own app and using the Mantine documentation.

This seems to have been introduced in 5.5.0, as the codesandbox template (with Mantine 5.4.2) in the bug report template has it working.

Working, with Mantine 5.4.2: https://codesandbox.io/s/agitated-hamilton-9mjzx6?file=/src/App.tsx

Not working, with Mantine 5.5.0: https://codesandbox.io/s/beautiful-galileo-219j69?file=/src/App.tsx

What version of @mantine/hooks page do you have in package.json?

5.5.1

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/beautiful-galileo-219j69?file=/src/App.tsx

Do you know how to fix the issue

No

Are you willing to participate in fixing this issue and create a pull request with the fix

No response

Possible fix

No response

@rtivital
Copy link
Member

rtivital commented Oct 4, 2022

Thanks for reporting

@rtivital rtivital added the Fixed patch Completed issues that will be published with next patch (1.0.X) label Oct 4, 2022
rtivital added a commit that referenced this issue Oct 4, 2022
@rtivital
Copy link
Member

rtivital commented Oct 4, 2022

Fixed in 5.5.2

@rtivital rtivital closed this as completed Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed patch Completed issues that will be published with next patch (1.0.X)
Projects
None yet
Development

No branches or pull requests

2 participants