-
-
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] - DropdownItem onPress not working #2743
Comments
I also have this issue, not only in the dropdown some others component also that have onPress action dont work |
Hey guys, we're currently looking into this issue, please use the e.g. https://stackblitz.com/edit/vitejs-vite-sell4f?file=src%2FApp.tsx |
@daniel-esserweb could you please tell us on which other components the |
@jrgarciadev I've tested with |
Same issues here, I don't why it stop functioning at some point. As per @jrgarciadev
I'm resorted to use
Note: Need to make sure every dropdown-item has a unique |
NextUI Version
2.3.0
Describe the bug
After the update, when trying to click on a
DropdownItem
using theonPress
click handler, nothing happens. The dropdown just closes. If I disablecloseOnSelect
for both theDropdown
andDropdownItem
and then try and use theonPress
handler it works as intended.Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Dropdown
onPress
handler toDropdownItem
inside the dropdownonPress
does anythingExpected behavior
Expect the
onPress
action to complete when clicking on theDropdownItem
Screenshots or Videos
No response
Operating System Version
Any
Browser
Chrome
The text was updated successfully, but these errors were encountered: