top | item 31276171

(no title)

es7 | 3 years 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?

discuss

order

eyelidlessness|3 years ago

CSS one liner:

  a, button, .etc { touch-action: manipulation; }

aeternum|3 years ago

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.