3 ms·
If you don't trust me on this, that's fine. Test it for yourself. Double tap does not change pointer events (https://dvcs.w3.org/hg/pointerevents/raw-file/tip/
by jaffathecake 13y ago
If you don't trust me on this, that's fine. Test it for yourself.
Double tap does not change pointer events (https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEvents.html https://dvcs.w3.org/hg/pointerevents/raw-file/tip/pointerEve...), they come first. But 'click' is not a pointer event, it's the result of some pointer events, and the lack of the browser doing something else, such as scrolling, double tap etc.
But seriously, don't take my word for it. Test it.
- jaffathecake 13y agohttp://jsbin.com/IjerotI/1/quiet http://jsbin.com/IjerotI/1/quiet - here's a test for you. Try tapping, then double tapping on that page. See the difference in events. This is touch events rather than pointer events, but the behaviour is similar. You can modify the test if you don't believe me.
- masklinn 13y ago> If you don't trust me on this, that's fine. For the third time (might just be the charm), you contradict yourself, it's not that I don't trust you it's that you're internally inconsistent.
- jaffathecake 13y agoIf I'm not explaining it properly, see the test and work it out yourself. Touch & pointer events happen before double tap (and can prevent it) click happens after all those and can be prevented.