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

Touch events cause problems with smoke.confirm on mobile Safari #29

Open
homp opened this issue Jun 14, 2012 · 1 comment
Open

Touch events cause problems with smoke.confirm on mobile Safari #29

homp opened this issue Jun 14, 2012 · 1 comment

Comments

@homp
Copy link

homp commented Jun 14, 2012

Really loving this library, really nice.

But - there seems to be an issue with touch functions (touchstart, touchend, etc) in mobile safari.

Check the modified demo.html I've put up at http://mima.x.se/nils/smoke/demo.html

Apart from demo.html I've used the original package from github.

The confirm link has been modified to activate on "touchend" which screws up the confirm (it disappears within a fraction of a second). Binding it to a click event works fine.

User String on the iPad used:

Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3

@homp
Copy link
Author

homp commented Jun 18, 2012

Tracked this to the "close on background click" functionality. Removed that and it works fine.

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

1 participant