Skip to content

Mega Menu - Why won't the menu disappear after clicking a link? #1469

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

Open
Pbear74 opened this issue Feb 3, 2025 · 2 comments
Open

Mega Menu - Why won't the menu disappear after clicking a link? #1469

Pbear74 opened this issue Feb 3, 2025 · 2 comments

Comments

@Pbear74
Copy link

Pbear74 commented Feb 3, 2025

Sample

REACT-MEGA-MENU

Author(s)

@VelinGeorgiev

Question

I have deployed the REACT-MEGA-MENU sample in my test tenant using the SP List as the menu provider. When I click on a link in the menu the menu does not disappear. Is there anything in the code that forces the menu to close when a link is clicked?

@ervingayle
Copy link
Contributor

Hello @Pbear74 . I recently updated this solution. I also just tested it using the test data and the sample list with links to the same site collection and the menu does go away for me. Do you get any error messages or anything in console when the page initially loads and/or when you click the button for the menu to open?

@Pbear74
Copy link
Author

Pbear74 commented Feb 10, 2025

@ervingayle thanks for taking a look. For some reason it will not disappear for me, I have made some changes to the code but it is mainly to the way that it looks. Is there a specific line of code that handles the menu hiding after clicking on a menu item?

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

No branches or pull requests

2 participants