Answer the question
In order to leave comments, you need to log in
Delay when clicking form buttons on mobile browsers?
Please tell me what is the most relevant way to remove the delay when pressing buttons on mobile browsers? Has a stable css property or simple js code appeared?
Will suit the solution even only for modern browsers without fallbacks.
PS
Do not offer libraries and plugins))
Answer the question
In order to leave comments, you need to log in
In jquery there is a touchstart event, it works many times faster than a click
$('link').on('touchstart', function () {
/* Some Code */
});
html {
-ms-touch-action: manipulation;
touch-action: manipulation;
}
And ontouchstart is not entirely correct to use in my opinion. This event is fired whenever the user simply touches the screen. Apparently, you will have to score and just wait until they fix it, adhering to graceful degradation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question