Skip to content
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

how to make the respective sub menu visible? #4

Open
Parasbuda opened this issue May 17, 2021 · 2 comments
Open

how to make the respective sub menu visible? #4

Parasbuda opened this issue May 17, 2021 · 2 comments

Comments

@Parasbuda
Copy link

How can we make the sub menu visible on the initail mounting of sidebar as well as on chnaging the route from the address bar as well.Please Please need help.

@saber-mekki
Copy link

hello @Parasbuda
How did you resolve it !

@onokumus
Copy link
Collaborator

onokumus commented Feb 7, 2022

Your wish will not come true because of the following lines in MetisMenu's source file.

https://github.com/onokumus/metismenujs/blob/master/src/index.ts#L67-L69

if (target && target.tagName === 'A') {
  evt!.preventDefault();
}

I can't think of any other solution for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants