This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
On browsers that support touch-action, rely on it to disable the tap delay #498
Comments
Note that if you really wanted to rely on the page author setting the To be complete you'd need to:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Chrome, Safari, Edge and (soon) FireFox all support) using
touch-action: manipulation
to disable the click delay without the side effects of FastClick.js (eg. without disabling features like touch adjustment, tap suppression during flings, interfering with forms, etc.). Rather than look to see if the layer is using atouch-action
style, why not set that style explicitly on the layer for browsers that support it (iftouch-action
isn't already specified) and then do nothing else? That would be less brittle (and so avoid issues like #497).The text was updated successfully, but these errors were encountered: