Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

157
Vistas
DOM `pointermove` event fires twice with same coordinate on iPad+Apple Pencil

While I was fiddling with Pointer Events, I found that pointermove events fires twice on exactly same coordinate if I touch iPad with Apple Pencil.

The specification says:

A user agent MUST fire a pointer event named pointermove when a pointer changes coordinates. Additionally, when a pointer changes button state, pressure, tangential pressure, tilt, twist, or contact geometry (e.g. width and height) and the circumstances produce no other pointer events defined in this specification then a user agent MUST fire a pointer event named pointermove.

So I quickly wrote a simple "event logger", which just dumps all the properties of PointerEvent to the textarea.

https://jsfiddle.net/xb8jgptw/18/show

If I swipe the screen with Apple Pencil, pointermove fires twice on every coordinate, without changing any properties: swipe with stylus

With my finger, it works as expected: swipe with finger

Though it is easy to handle this problem (just ignore every other event), I just want to know why is this happening or if this is the expected behavior.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda