- From: Robert Flack via GitHub <sysbot+gh@w3.org>
- Date: Tue, 18 Jun 2024 17:46:36 +0000
- To: public-pointer-events@w3.org
The note in that section implies (at least to me) that the userEvent is the PointerEvent (i.e. pointerup) whose default action caused the dispatch (excepting keyboard / accessibility means of dispatching clicks): > Event userEvent could be a non-PointerEvent; for example, it is a KeyboardEvent when a click event dispatch is caused by hitting the spacebar on a checkbox element. > > When userEvent is a PointerEvent, userEvent is a [pointerup](https://w3c.github.io/pointerevents/#dfn-pointerup) for a click or auxclick event, and either a [pointerdown](https://w3c.github.io/pointerevents/#dfn-pointerdown) or a [pointerup](https://w3c.github.io/pointerevents/#dfn-pointerup) event (depending on native platform convention) for a contextmenu event. But I'm not sure I understand the specific differences that are causing problems. Most pages won't be setting pointerCapture so the target of the click event will be the same as it usually is. -- GitHub Notification of comment by flackr Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/508#issuecomment-2176647563 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 18 June 2024 17:46:37 UTC