You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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: