-
-
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] - Interactive Elements Not Responding on iOS After Updating to NextUI 2.6.0 #4292
Comments
i am having same issue on android too |
We're investigating this issue, fix should be out soon |
It occurs when using buttons in Portals on ios |
Small clarifacition about issue, if you change from onclick to onpress and remove preventdefault issue is disappears but for some components still continues... @jimmailcamp @scarrascoalvarez @sudongyuer |
Guys, @scarrascoalvarez @jimmailcamp @bckd00r have you tried use onPress instead of onClick ? |
Why is this necessary tho? |
yes, i have tried onpress and it's working now but why onClick not working on mobile devices tho? |
This is just a temporary solution, will fix it soon |
thank you for quick answer i'm very glad to hear that gonna be fixed soon <3 |
Glad! |
Hey guys please test this in the v2.6.7 |
Not woking, v2.6.7 just solve the ripple issue. I'v already found the reason, will make PR soon. |
We've deprecated Note that React Aria team already removed the This will fix the issue on iOS & Android devices and ensure proper functionality Pull request: #4322 |
this is one of the more ridiculous things i think i've seen in 30 years of programming. if this isn't a breaking change - what is?? |
specifically which nextui components require onPress and which still use onClick? it seems Inputs and other items still use onClick so not only is this a big pain in the ass but now there's no consistency between components. get it together guys and do a better job. |
Why do some use onPress and some use onClick? |
For the following interactive elements, you should use
For other components, they accept
We understand this may cause the inconvenience. Please note that this is the decision made by the |
Using Button as="Link" adds warning to console too. With no onPress or onClick attribute given. |
@Jsox that was introduced internally. we're aware and working of it. you may simply ignore that. |
Are everyone suppressing this |
NextUI Version
2.6.0
Describe the bug
After updating to NextUI 2.6.0, interactive elements such as cards, buttons, and clickable components stopped working on iOS devices when navigating through the web application. Tapping these elements does not trigger any action or event, making the interface non-functional on affected devices.
Your Example Website or App
No response
Steps to Reproduce the Bug or Issue
Expected behavior
Interactive elements such as buttons and cards should respond to taps or clicks as expected, triggering the correct actions/events.
Screenshots or Videos
Operating System Version
iOS
Browser
Safari
The text was updated successfully, but these errors were encountered: