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

[BUG] - NavbarMenuToggle is not functioning correctly #4393

Closed
amigoimmigration opened this issue Dec 18, 2024 · 6 comments
Closed

[BUG] - NavbarMenuToggle is not functioning correctly #4393

amigoimmigration opened this issue Dec 18, 2024 · 6 comments

Comments

@amigoimmigration
Copy link

NextUI Version

2.6.0

Describe the bug

Issue: The NavbarMenuToggle component in the Next.js project is not functioning as expected. Clicking the toggle does not trigger the expected change in the visibility or state of the navigation menu.

Steps to Reproduce:

Navigate to the page with the Navbar component.
Click on the NavbarMenuToggle button.
The navigation menu does not open/close as expected.
Expected Behavior: When the NavbarMenuToggle button is clicked, the navigation menu should toggle its visibility (open or close).

Actual Behavior: Clicking the NavbarMenuToggle button does not alter the state of the navigation menu. The menu remains in its default state (either open or closed) despite clicking.

Possible Causes:

Issue with state management or event handling in the NavbarMenuToggle component.
CSS classes or styles not being updated properly.
Missing or incorrect integration with state management libraries or React hooks.

Your Example Website or App

https://nextui.org/docs/components/navbar#navbarmenutoggle-props

Steps to Reproduce the Bug or Issue

Not

Expected behavior

not

Screenshots or Videos

Not

Operating System Version

all

Browser

Chrome

Copy link

linear bot commented Dec 18, 2024

@newguy123-creator
Copy link

newguy123-creator commented Dec 18, 2024

Yes its the same issue as here:
#4345

Weridly, the Pro version of this works just fine. So not sure why would the Pro version work and the regular one not...

@Develekko
Copy link

same here

@amigoimmigration
Copy link
Author

how to fix any one

@wingkwong
Copy link
Member

duplicate - will be tracked in #4345 instead.

@wingkwong wingkwong closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@jt6677
Copy link

jt6677 commented Jan 7, 2025

lol. NavbarMenuToggle does not appear properly, not even with sm:hidden removed. They are too busy making pro version they could not even make a basic nav bar properly.

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

5 participants