Skip to content

Instantly share code, notes, and snippets.

@Graniron
Created July 11, 2021 06:47
Show Gist options
  • Save Graniron/23520af15f9c4dcbd2d2833977764b55 to your computer and use it in GitHub Desktop.
Save Graniron/23520af15f9c4dcbd2d2833977764b55 to your computer and use it in GitHub Desktop.
make taps 300ms faster with 1 line of CSS. Element doesn't want double-tap to zoom result: browser *immediately* responds to taps instead of waiting 300ms for a "potential" 2nd tap
a, button {
touch-action: manipulation;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment