-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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] - Button
onPress
will trigger more events.
#1934
Comments
This is a really annoying issue with Buttons - it's pretty common that a Button press will trigger a UI change that results in another Button appearing in the same position and then the mouseup event gets caught by the second Button and triggers the onPress again. |
It's pretty weird. The two buttons interested are NOT even on the same page. Besides, if the button underneath is a common button processing |
It can't be reproduced on v2.2.9. |
I believe This issue is from react-aria. adobe/react-spectrum#5802 . @jim-king-2000 this issue is still happening . I am using next ui 2.2.9 |
Yeah, I think so. What should we do? Fire another issue for react-aria? |
NextUI Version
2.2.8
Describe the bug
When we click the "back" button to route back to the previous page, the same click will trigger the link (on the same position with respect to the "back" button) on the previous page (destination page).
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Notes:
onPress
event. If we change it toonClick
, it works well.Expected behavior
Just go back to the previous page.
Screenshots or Videos
No response
Operating System Version
Android 13
Browser
Chrome
The text was updated successfully, but these errors were encountered: