tip-archive
tip-archive copied to clipboard
Prevent double tap in web
Description
- Disable double tab
Solution 1
Add meta tag with user-scalable
<meta name="viewport" content="width=device-width,initial-scale=1.0,viewport-fit=cover,maximum-scale=1.0,user-scalable=0">
Solution 2
Add
touch-action
property to element
/* Disable double tab in menu*/
.selector {
touch-action: manipulation;
}
https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action