Skip to content
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

1.3.0 Alpha 2 cancels element clicks events on mobile when attached. #527

Closed
timothyallan opened this issue Jun 25, 2017 · 1 comment
Closed

Comments

@timothyallan
Copy link

Expected behavior

Should see a click event on both mobile + desktop.

Actual behavior

Only see the click event on desktop, until interact is removed, then click events occur on both.

System configuration

1.3.0 alpha2
iOS 10 and Chrome latest macOs

https://jsfiddle.net/k2t7h13b/10/

@taye
Copy link
Owner

taye commented Jun 25, 2017

Duplicate of #58. Safari doesn't support the touch-action CSS property so there's no way to prevent scrolling without also preventing click events. I think the best solution is to use interact.js' "tap" event instead of "click".

@taye taye closed this as completed Jun 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants