Bug 279749
| Summary: | "pointerdown" event not published on first interaction after a drag | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | alexreardon |
| Component: | UI Events | Assignee: | Abrar Rahman Protyasha <a_protyasha> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 17 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
alexreardon
After dragging a draggable element (`<div draggable="true">Drag me</div>`), the next depression of the users pointer does not publish a "pointerdown" event (but a "mousedown" event is fired).
## Steps to reproduce
1. Drag a draggable element (`<div draggable="true">Drag me</div>`)
2. Finish the drag
3. Press down a pointer anywhere on the screen and no "pointerdown" event is published
## Expected behaviour
A "pointerdown" event is published when a user depresses their pointer after a drag operation.
## Reproduction case
- Standalone demo: https://xdn5vw.csb.app/ (See `console` for logs and you will see that "pointerdown" is missing on the interaction after a drag)
- Source: https://codesandbox.io/p/sandbox/xdn5vw?file=%2Fsrc%2Findex.ts%3A16%2C1
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
alexreardon
This issue is a duplicate of: https://bugs.webkit.org/show_bug.cgi?id=202287 which was raised in 2019
Radar WebKit Bug Importer
<rdar://problem/136475226>
Ahmad Saleem
*** This bug has been marked as a duplicate of bug 202287 ***