-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[BUG] - Navbar instantly closes after update to Hero UI #4943
Comments
I couldn't reproduce the issue in the doc on Brave (also other browsers). If the issue happens in your app, you may remove your node_modules and lock file and re-install again (the latest is now 2.7.4). |
The problem still persists. I've tested this on multiple computers, so I have no idea why you couldn't reproduce the error. Perhaps I have described the problem poorly. In that case, I have provided a video of the issue on the doc page. This is running inside the OBS browser, and that also has the problem. Platform: This clearly isn't a problem with my specific machine; it is introduced in the HeroUI. This wasn't happening in NextUI. |
Probably it only happens in Windows. Reopening it. |
HeroUI Version
2.7.2
Describe the bug
Since updating to HeroUI, I have encountered a bug where Navbar will instantly close on first open, It will trigger the onMenuOpen function, if you remove the function it doesn't close, but the menu will not open, because of the way it is coded. This makes update to the HeroUI impossible for me.
Tested on Brave and in private window without extensions, issue persists. Doesn't happen on Mozzila, menu took a while and then loaded normally
Your Example Website or App
https://www.heroui.com/docs/components/navbar#with-menu
Steps to Reproduce the Bug or Issue
Expected behavior
As a user, I expected menu to stay open, but it instantly closes on first open.
Screenshots or Videos
No response
Operating System Version
Windows, Brave Browser
Browser
Other (add additional context)
The text was updated successfully, but these errors were encountered: