Bug 136531 - touchend/cancel not fired when performing back navigation using touch drag from the bezel
Summary: touchend/cancel not fired when performing back navigation using touch drag fr...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 7.0
: P2 Normal
Assignee: Benjamin Poulain
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-04 07:40 PDT by Mikhail Fomitchev
Modified: 2019-02-06 09:18 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.