'Shorten the delay from the onclick event on touchscreen devices

Note: This question is purely hypothetical, I am well aware of touch events.

I have a large amount of html that has the onclick event attribute attached to many of the html tags. The problem is that there is a small delay on touchscreen devices with the onclick event. This is very annoying and makes things feel less responsive and slow, so I would like to know if you can control the delay time of onclick, so it can be manipulated to feel like a touch event.



Solution 1:[1]

You could disable zoom for instant onClick.

<meta name="viewport" content="width=device-width, user-scalable=no">

The delay occurs because the phone is waiting for the second tap to zoom in.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1