| Summary: | [Pointer events] pointerend/pointercancel event never fired when swiping to forwards a page | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | pfg.webkit | ||||
| Component: | UI Events | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | h.dodov, pfg.webkit, thorton, webkit-bug-importer, wenson_hsieh | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari 15 | ||||||
| Hardware: | iPhone / iPad | ||||||
| OS: | iOS 15 | ||||||
| Attachments: |
|
||||||
|
Description
pfg.webkit
2022-04-08 13:27:08 PDT
Created attachment 457745 [details]
Pointer swipe bug demo
I can reproduce this issue on iPhone 12 mini, OS version 15.4.1. Reproduction site: https://safari-pointer-swipe-bug.netlify.app/ I've also attached a video that showcases the bug: - Swiping from the left (go to previous page) correctly triggers `pointerdown`, then `pointerup` events. - Swiping from the right (go to next page) correctly triggers `pointerdown`, but **incorrectly** does not trigger `pointerup` afterwards. The OP expects `pointercancel` to be fired, but that would introduce an inconsistency with swiping from the left. It should be a `pointerup` event. |