Bug 136531

Summary: touchend/cancel not fired when performing back navigation using touch drag from the bezel
Product: WebKit Reporter: Mikhail Fomitchev <mfomitchev>
Component: DOMAssignee: Benjamin Poulain <benjamin>
Status: NEW ---    
Severity: Normal CC: benjamin, rbyers
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 7.0   

Description Mikhail Fomitchev 2014-09-04 07:40:17 PDT
Safari on iPad with iOS7:

- Open a new tab and go to google.com
- In the same tab go to http://www.rbyers.net/eventTest.html
- Perform one finger touch-drag from the left bezel - this should engage the effect for the back navigation
- lift your finger without completing the navigation

Observe the output on the page:  touchstart and touchmove events are dispatched, but touchcancel is never dispatched.
Comment 1 Rick Byers 2014-09-04 07:44:51 PDT
I agree it's probably important that websites reliably receive either a touchend or touchcancel so they can tell a touch is no longer active on the page.  I can reproduce this on iOS 8 beta as well.
Comment 2 Benjamin Poulain 2014-09-04 12:23:10 PDT
Yep, it is a know issue. We "broke" it intentionally with iOS 7. :(

I don't think I'll send a touch cancel here. Instead I plan to not send the events until the gesture has failed (to match the HI guidelines for the edge swipe).
Comment 3 Lucas Forschler 2019-02-06 09:18:29 PST
Mass move bugs into the DOM component.