zjffun blog

Touch and mouse checklist

更新于 写于 FrontendTouchMouseEvent

  1. Click and tap is different
  2. mousemove and touchmove is different
  3. Touch haven’t hover
  4. Touch precision is not accurate as mouse
  5. Handle Touch and scroll
  6. Multi touch should be considered
  7. touch-action should set, when Touch events preventDefault().
  8. Pointer events can be used to handle both mouse and touch events.

See: