-
Notifications
You must be signed in to change notification settings - Fork 46.8k
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
Click events aren't fired for mobile devices on table rows #2931
Comments
I wouldn't be opposed to something like onclick="" which has the aditional benefit of letting me style all clickable elements, and making the generated html clearer. In angular projects use this css: |
It's supposed to be fixed by MobileSafariClickEventPlugin, but it broke some time ago and haven't been fixed yet IIRC. |
We recently ran into this problem as well, and found that the NB: The |
Dupe of #1169, essentially. Should be fixed in 0.14 by my PR. |
Could be missing something here, but if I have a
onClick
handler for a table row, mobile devices won't fire the event unless I add anonTouchStart
handler, event if it's an empty function.Fiddle here: http://jsfiddle.net/sadkinson/145k6bqc/4/
If you comment out the
doNothing
function in the fiddle, mobile devices won't actually fire theonClick
handler when tapping the row. Tried with Safari/Chrome on IOS 8, iPhone 6.The text was updated successfully, but these errors were encountered: