Skip to main content

Fast Click

Jun 18, 2021 • 1 min

By default, when tapping on an element, browsers wait 300ms for a potential double-tap to zoom.

This can be sped up with a single css declaration:

touch-action: manipulation;

It would be great for links and buttons:

a, button {
  touch-action: manipulation;
}

Using this declaration, browser immediately responds to taps instead of waiting 300ms for a "potential" second tap. This is great for buttons and links.

Support

Basically All