-
Notifications
You must be signed in to change notification settings - Fork 876
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
'aria-hidden' cannot be used in <React.fragment> in the dropdown menu. #3211
Comments
I am also getting a lot of these errors on Accordion / DropdownMenu
Dependencies
|
Kimhansoool
changed the title
When migrating to Next15, an error appears saying that 'aria-hidden' cannot be used in <React.fragment> in the dropdown menu components(menu).
'aria-hidden' cannot be used in <React.fragment> in the dropdown menu.
Nov 13, 2024
Problem solved in that request #3229 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Current Behavior
When migration to Next15 and React19, an error appears saying that 'aria-hidden' cannot be used in <React.fragment>.
After searching the radix-ui menu components package code, I found that 'aria-hidden' was added whild return hideothers in MenuRootContentModal.
primitives/packages/react/menu/src/Menu.tsx
Line 258 in 74b182b
https://github.com/theKashey/aria-hidden/blob/52c7374abb9fb0a348c63b9ff613a575868cec62/src/index.ts#L174
Reproducible example
Using dropdown menu package in next15...
Your environment
The text was updated successfully, but these errors were encountered: