- From: Joe Pea <notifications@github.com>
- Date: Thu, 05 Nov 2020 13:19:05 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 5 November 2020 21:19:17 UTC
Here's a working demo: https://codepen.io/trusktr/pen/gOMjELg In the following demo, `event.preventDefault()` is called in a `pointerdown` event, and that inexplicably breaks `mouseup` events. https://codepen.io/trusktr/pen/GRqBeWr It has been a source of difficult-to-track bugs in an application of mine. It really isn't intuitive that one set of events (`pointer*` events) has such an effect on an unrelated set of events (`mouse*` events). And even if `pointer` and `mouse` events are treated as if they belong together, it is not at all clear why `event.preventDefault()` within `*down` event handlers should stop `*up` event handlers from firing. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/917
Received on Thursday, 5 November 2020 21:19:17 UTC