This content has been marked as final.
Show 2 replies
-
1. Re: Click overwrite touch event on tablets?
Joe Bowden Aug 13, 2014 10:40 AM (in response to Robyn_cpl)Hi Robyn,
Click events won't overwrite touch events on iOS devices - both event types are supported.
However, touch events are fired instantly on touch, and will override click events if they both coexist on the same element. Also, click events in iOS have a built-in delay of about 300 ms to allow touch events (if they exist) to fire first.
hth,
Joe
-
2. Re: Click overwrite touch event on tablets?
Robyn_cpl Aug 13, 2014 12:40 PM (in response to Joe Bowden)Thank you for clearing that up for me
So even if I have both and the code is the same on the click and touch start/end the touch will fire first because of the delay.
That delay explains quite a lot. I thought it was my browser being laggy.
Thanks again



