Hacker News new | ask | show | jobs
by JoelSutherland 4567 days ago
For what it's worth, this delay was already removed for sites that had user-scalable=no set. Most mobile "apps" used this.

The change here is that if the computed viewport is smaller or equal to the device width, fast clicks will be enabled without having to disable scaling. Double clicking won't work, but pinch-to-zoom will.

Overall it's a fairly minor change for those thinking about making HTML5 apps, but it is a big positive change for users visiting existing web sites that have mobile/responsive versions that haven't disallowed scaling.

1 comments

> For what it's worth, this delay was already removed for sites that had user-scalable=no set. Most mobile "apps" used this.

Is this true for mobile Safari as well?

No, see the "Will other browsers do the same?" section of the article.
Ah, that's too bad. It would be nice if setting user-scalable=no was all you had to do to disable the delay. And anyway, despite using an iPhone for god knows how many years, I didn't even know that a double tap on iOS scrolls the page!

Edit: I mean double tapping on an unzoomable page.

Even then, I think being able to pinch-zoom is a great feature and gives you some accessibility out-of-the-box.
Note that the chrome change from the OP is specifically so that you don't have to sacrifice pinch-zoom to get rid of the 300ms delay.
You can override the forced non-zoom features in settings.