-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
TieredMenu: Submenu 'popup' behavior different than PrimeVue #5975
Comments
@msalihaltun it appears PrimeVue is the same way: https://primevue.org/tieredmenu/ It was done as part of ARIA accessibility and keyboard support: https://primereact.org/tieredmenu/#accessibility See #5657 |
Thank you for your response. |
@melloware @msalihaltun However, if you activate the 'popup' property, the behavior described above no longer works in PrimeReact, as all submenus (and sub-submenus) can only be activated by clicking. (https://primereact.org/tieredmenu/#popup) I don't think this difference in behavior is intentional. Perhaps this issue should be reopened (or a new one created). |
Hello there ! |
Describe the bug
I have two forked demos that shows the difference in behavior. In
10.2
TieredMenu submenus were activated by hover. In the latest version they can only be activated by clicking.https://stackblitz.com/edit/zjjwcj?file=src%2FApp.jsx
https://stackblitz.com/edit/ompses?file=src%2FApp.jsx
Reproducer
https://stackblitz.com/edit/ompses?file=src%2FApp.jsx
PrimeReact version
latest
React version
18.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Tested in chrome
Steps to reproduce the behavior
Use the demo to see the different behavior.
Expected behavior
I expect the submenus to activate by hover.
The text was updated successfully, but these errors were encountered: