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 Events onPress doesn't work #2923
Labels
Comments
Closing due to inactivity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NextUI Version
2.3.6
Describe the bug
I have one Dropdown component with one item logout, I want to run a function and log string when i click on logout, I used one of DropdownItem event onClick and pass anonymous function that log string but it doesn't show me anything on console when i click on logout. I have also read the documentation there were also mention one thing that onClick is Deprecated use onPress insted but this also give me the same result.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Click on logout
Expected behavior
it should log "hhh" string
Screenshots or Videos
No response
Operating System Version
linux
Browser
Chrome
The text was updated successfully, but these errors were encountered: