Skip to content

Instantly share code, notes, and snippets.

@paulwellnerbou
Last active May 13, 2016 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulwellnerbou/3931e705d2734b2e63089f4df0dd54f5 to your computer and use it in GitHub Desktop.
Save paulwellnerbou/3931e705d2734b2e63089f4df0dd54f5 to your computer and use it in GitHub Desktop.
Events fired on touch/click:

Safari (no touch):

mouseover
mousemove (2ms)
mousedown (421ms)
mouseup (157ms)
click (1ms)
mousemove
mouseout (15ms)

Chrome (no touch):

mouseover
mousemove (0ms)
mousedown (1088ms)
focus (1ms)
mouseup (135ms)
click (2ms)

Firefox (no touch):

mouseover
mousemove (2ms)
mousedown (564ms)
focus (10ms)
mouseup (86ms)
click (4ms)
mouseout

iOS 9 (iPhone):

touchstart
touchend (115ms)
mouseover (60ms)
mousemove (1ms)

mouseover and mousemove are killing the other events somehow. If those events are not listened to, following events are fired:

touchstart
touchend
mouseout
mousedown
mouseup
click

Chrome (Android):

touchstart
touchend
mouseover
mousemove
mousedown
focus
mouseup
click
mouseout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment