jo
jo copied to clipboard
Eliminate Tap Delay On Mobile
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?
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. :)
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.
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. :)
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.