-
-
Notifications
You must be signed in to change notification settings - Fork 485
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
Clicking a link prevent navigate to the page #179
Comments
What is your project structure? |
Hi @onokumus HTML code is inside Let me know if I answerd |
I don't see metisMenu in this repository. |
@onokumus That's the third-party boilerplate I'm using, it's not mine. The code is placed where I said before. I made a codepen https://codepen.io/anon/pen/LaMgJw where you clearly see this bug. |
Hi @onokumus have you seen the bug in the codepen? Let me know, thanks |
Hi
I need to prevent that clicking on a link, it navigates to the url. I just want it opens the submenu.
I'm using version 3.0.4 with this code:
For example: if I click "Menu 1" it navigates to the page
/about
instead I just want it opens the submenu.preventDefault: true
seems to not workingHere a Codepen to clearly see this bug: https://codepen.io/anon/pen/LaMgJw
Some help?
The text was updated successfully, but these errors were encountered: