PanelMenu subItems 'to' route configuration breaks menu rendering #1536
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
vue2-portable
Milestone
I'm submitting a ... (check one with "x")
Current behavior
When configuring a 'to' on a menu subitem, the menu breaks
Expected behavior
Menu not breaking and navigating to configured 'to' route.
Minimal reproduction of the problem with instructions
** Sandbox **
https://codesandbox.io/s/priceless-orla-d6iyc?file=/src/App.vue
Please tell us about your environment:
PrimeVue version: 3.7.0
Browser: All
Suggested Fix:
in panelmenu.js on line 124:
"aria-expanded": isActive(item)
should be:
"aria-expanded": $options.isActive(item)
Resolves the issue for me.
The text was updated successfully, but these errors were encountered: