Click delay problem of native JS mobile terminal

it is said on the Internet that there will be a 300ms delay in the click event on the mobile, but I use the iPhone to test why there is no delay in the click, but there is a delay in the touchstart? There is no delay in testing click and touchstart in mobile mode on Google browser. Excuse me, what is the way to ensure that there is no delay in touchstart on the mobile phone?

Dec.31,2021

how did you get


further test found that if the callback function contains alert statements, touchstart, touchmove, and touchend will all be delayed, and removing the alert statement will not delay?


  • 300ms delay is caused by the browser checking whether there is a double click. If there is no double click in the 300ms, then respond to the click action.
  • fastclick is a library that reduces latency by 300, and you can take a look at it.
Menu