-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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] - 2.6.2 DropdownItem links no longer function #4246
Comments
please share your package.json |
|
for the a tag issue, let's track in #4256. This issue will focus on the issue why dropdown href won't trigger navigate. |
Thank you for looking into this. Please also address this urgent issue that is breaking for me on iOS: I found the problem. When you select a DropdownItem it adds this to the -webkit-user-select: none; And it doesn't go away. This is really important for my native iOS Capacitor builds and should be a quick fix I think |
please leave the finding in the corresponding issue. the threads should be only related to the this issue only. |
Same here. I upgraded to NextUI 2.6.3 today and found this issue on my navbar Dropdown items. a tag is not doing anything. with that i noticed that, now a tag is not filled to the entire menu item hover, means I need to click the exact title of the a tag to click the link. |
introduced from #4168 |
Same with nextui 2.6.4 |
Same here. I had to downgrade to version 2.4.6 because my application's main navigation bar uses We just want it to work as it did before and prefer not to use the new routing system. Please keep the library simple—"simple is the best." Let next/link handle its job without additional complexity. |
Same issue here broken styling and I want the whole list-item to be an a-tag and render it as next/link but then NextJS breaks because there will be an a-tag inside of a-tag. Using the NavBar from NextUI Pro. Can't upgrade because of this. Any ETA on a fix? |
NextUI Version
2.6.2
Describe the bug
DropdownItems with href's are rendering as "a" tags but when pressed they are not calling navigate. I'm on NextJS. I tried adding as={Link} to the DropdownItem which fixes this issue but now creates a warning
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Attempt to add an href to DropdownItem
Expected behavior
Tapping a DropdownItem with an href should correctly call the navigate function of NextUIProvider
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
The text was updated successfully, but these errors were encountered: