Post #3838552
2025-11-17 19:56 UTC
@siblingpastry@mastodon.world You probably figured this out, but I got curious and had to double-check that this has to do with the primary-ness of the **pointer** (rather than what that particular pointer is *doing*). Marks that the event is coming from e.g. the main mouse rather than just one rando finger of a multitouch chord. "Authors who desire only single-pointer interaction can achieve that by ignoring non-primary pointers." https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/isPrimary
Replies (1)
-
@siblingpastry@mastodon.world 2025-11-18 18:15
@natevw@toot.cafe Yeah it does. When a mouse is used, the mouse is considered to be a primary pointer regardless of which button was pressed (as opposed to touch interaction where only single touches are considered primary). So what I described is to spec, it just seemed oddly counter-intuitive to me.