Hacker News new | ask | show | jobs
by es7 1508 days ago
If you leave zoom enabled on mobile, then the browser tries to handle double-tap-to-zoom, which adds a surprisingly large delay to all taps while it waits to see if there is a second tap coming. This makes websites feel sluggish and unresponsive.

Is there a good way to get lightning-fast response times to tap events without disabling zoom in 2022?

2 comments

CSS one liner:

  a, button, .etc { touch-action: manipulation; }
Yes, this is really why most mobile sites disable it (at least it's the primary reason I do).

Latency matters a lot and everyone taps, not everyone zooms.