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

Eliminate Tap Delay On Mobile #93

Open
kesne opened this issue Dec 13, 2013 · 4 comments
Open

Eliminate Tap Delay On Mobile #93

kesne opened this issue Dec 13, 2013 · 4 comments
Assignees
Milestone

Comments

@kesne
Copy link

kesne commented Dec 13, 2013

On mobile devices there's around a 300ms delay when tapping elements. This has been pretty well documented.

There are some libraries that aim to solve this like fastclick. Jo could implement it by changing what the selectEvent is on mobile devices and redefine it as a touchstart event.

Thoughts?

@davebalmer
Copy link
Owner

Yeah, I had removed it on 0.4.1, but ran into some issues on Tizen and... IE? So I reverted back to tap events and took the delay for now. Well spotted. :)

@ghost ghost assigned davebalmer Dec 14, 2013
@kesne
Copy link
Author

kesne commented Dec 14, 2013

If that's the case maybe platform detect and only use the touchstart event on iOS and Android? I don't think it's an issue on Firefox and FirefoxOS if you set user-scalable to false.

@davebalmer
Copy link
Owner

Yes; will most likely have different scheme for "troubled" platforms (iOS and Android may be the only ones). The touch event scheme is also due for an overhaul at some point. :)

@kesne
Copy link
Author

kesne commented Dec 14, 2013

You're probably right there, although as a temporary fix for this I think this would be acceptable. Especially given that 300ms of touch delay sucks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants