Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

151
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!