MegaMenu: click not navigating to url
#4956
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
url
#4956
Describe the bug
Attempting to pass url to MenuItem but click is not registered at the top level. It works for submenu items only.
codesandbox
Reproducer
https://codesandbox.io/s/primereact-demo-forked-2nxnlm?file=/src/App.js
PrimeReact version
9.6.2
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome
Steps to reproduce the behavior
click on the top level link 'this doesn't work'
Expected behavior
it should navigate to the page defined by the url parameter.
The text was updated successfully, but these errors were encountered: