Earlier quoted context omitted.
One of the developers of FastClick.js here. We made this thing because we thought that the problem deserved a thin compatibility layer as a solution, rather than forcing developers to rewrite their code to use a different kind of button all over the place (then rewriting it again when the devices change their behaviour). The code is in production use on the FT web app, which is deployed across iOS devices, Android (b…
Great library, going to give it a shot in one of my upcoming projects. Quick question - I just tried the demo on IE on a Nokia Lumia 710 running WP 7.5 Mango, and there was no difference between A and B. Do you have any idea why FastClick might not work on Mango?
IOS browsers have a 300ms click delay - But developers can bypass it
31–40 of 58 posts
Re: IOS browsers have a 300ms click delay - But developers can bypass it
#32Re: IOS browsers have a 300ms click delay - But developers can bypass it
#33http://cubiq.org/remove-onclick-delay-on-webkit-for-iphone
It uses event capturing so you can bind the listener to an outer div containing many buttons, rather than each button individually.
Re: IOS browsers have a 300ms click delay - But developers can bypass it
#34Article asserts it's there to detect double taps, but I'd add that it's a very useful user experience tweak to help deal with mis-taps. On HN, for example, I'll frequently hit the article link instead of the comments and this delay (combined with the network latency) often lets me re-tap the right link.
Re: IOS browsers have a 300ms click delay - But developers can bypass it
#35Re: IOS browsers have a 300ms click delay - But developers can bypass it
#36Am I the only one who can't stand when people use IOS instead of iOS? I don't mind a little typo, but IOS [1] is a completely different operating system... [1] http://en.wikipedia.org/wiki/Cisco_IOS
Yeah, but it's still less annoying than seeing MAC used for Apple's desktop and notebook line.
Re: IOS browsers have a 300ms click delay - But developers can bypass it
#37Re: IOS browsers have a 300ms click delay - But developers can bypass it
#38Is there a JS fiddle somewhere where you can see the difference?
Try http://assanka.net/content/tech/files/2011/08/fastclickdemo....
On the stock Gingerbread browser though, both Layers do not respond to taps at all.
Re: IOS browsers have a 300ms click delay - But developers can bypass it
#39Article asserts it's there to detect double taps, but I'd add that it's a very useful user experience tweak to help deal with mis-taps. On HN, for example, I'll frequently hit the article link instead of the comments and this delay (combined with the network latency) often lets me re-tap the right link.
I think there are specific cases where eliminating the delay is appropriate. The very real concern is that developers will use this with abandon. There are many sites where it's easy to mistap, and the delay behavior serves its purpose well. Developers should think twice before breaking whole-platform conventions. Whatever they might personally think is "the right way," breaking with conventions almost always surprises and frustrates users.
Re: IOS browsers have a 300ms click delay - But developers can bypass it
#40Article asserts it's there to detect double taps, but I'd add that it's a very useful user experience tweak to help deal with mis-taps. On HN, for example, I'll frequently hit the article link instead of the comments and this delay (combined with the network latency) often lets me re-tap the right link.