- From: Sanket Bhuite via GitHub <noreply@w3.org>
- Date: Fri, 10 Apr 2026 19:37:52 +0000
- To: public-pointer-events@w3.org
I think retargeting the synthetic `click` could make mousedown–drag–mouseup interactions more intuitive, especially for `<menuitem>`-style components. From a developer perspective, when users press on one item, drag, and release on another, the expectation is that the final released item becomes the `click` target — similar to how many native UI menus behave. Without retargeting, authors may need extra logic to track `pointerdown` + `pointermove` + `pointerup`, which defeats the purpose of a higher-level abstraction. So retargeting the synthetic `click` to the item under `mouseup` seems more consistent and developer-friendly, provided it doesn't break existing pointer capture behavior. -- GitHub Notification of comment by sanketbhuite Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/560#issuecomment-4226304633 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 April 2026 19:37:53 UTC