News for hackers. Stuff that matters.
Re:WebKit removes the 350ms click delay for iOS by kristianp on Wednesday October 14, 2015 @06:53PM (#10390079)
Can someone explain what this means for the non-IOS developers amongst us?
Re:WebKit removes the 350ms click delay for iOS by geofft on Wednesday October 14, 2015 @07:01PM (#10390124)
As I understand it... If you're using Mobile Safari (or many other mobile browsers), and you double-tap something, it's interpreted as meaning "zoom in to this element". This is useful for pages with narrow columns and things on the sides, etc.

However, in order to implement this, when you do a single tap, the browser has to wait to make sure that you don't do a double-tap. So there's a 350ms delay while it's waiting on your second tap, before delivering a single-tap event, e.g. to click on a link.

There's a meta tag you can use to disable user control of the zoom level, e.g. with pinch-to-zoom. One of the things that this disables is the double-tap behavior. Given that double-tap is disabled on those websites, there's no need to sit around waiting for a second tap; you can treat it as a single tap immediately. This change removes the delay.

(People are upset because this is an incentive to use that meta tag if you otherwise wouldn't need it, and being able to zoom on a mobile browser is useful.)

Re:WebKit removes the 350ms click delay for iOS by toggle on Wednesday October 14, 2015 @07:14PM (#10390200)
Also worth mentioning: Chrome for Android did this last year. GP was asking about iOS, but it's not an iOS-specific thing.
Re:WebKit removes the 350ms click delay for iOS by stephengillie on Wednesday October 14, 2015 @08:18PM (#10390488)
To continue the Chrome for Android tangent, you can re-enable zoom-in as an accessibility feature.
Re:WebKit removes the 350ms click delay for iOS by jdavis703 on Wednesday October 14, 2015 @07:02PM (#10390132)
It means that un-optimized websites that have a certain meta tag set will feel (keyword here being "feel") faster when interacting with them.