Bug 136531
| Summary: | touchend/cancel not fired when performing back navigation using touch drag from the bezel | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mikhail Fomitchev <mfomitchev> |
| Component: | DOM | Assignee: | Benjamin Poulain <benjamin> |
| Status: | NEW | ||
| Severity: | Normal | CC: | benjamin, rbyers |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 7.0 | ||
Mikhail Fomitchev
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Rick Byers
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.
Benjamin Poulain
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).
Lucas Forschler
Mass move bugs into the DOM component.