[Webkit-unassigned] [Bug 153064] New: touchcancel not fired when context menu shown, touchmove/touchend still fired at document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 13 08:21:49 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=153064
Bug ID: 153064
Summary: touchcancel not fired when context menu shown,
touchmove/touchend still fired at document
Classification: Unclassified
Product: WebKit
Version: Safari 9
Hardware: Unspecified
URL: http://patrickhlauke.github.io/touch/tests/event-liste
ner_link.html
OS: iOS 9.0
Status: NEW
Severity: Normal
Priority: P3
Component: HTML Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: redux at splintered.co.uk
CC: benjamin at webkit.org, dino at apple.com
Created attachment 268867
--> https://bugs.webkit.org/attachment.cgi?id=268867&action=review
Demonstration of issue using tappy.js
When the Safari context menu (e.g. for links) is shown, it seems that events such as touchmove and touchend are still fired to the underlying page, rather than touchcancel. This can result in unexpected behavior if listening for, say, touchend on a link (see https://github.com/filamentgroup/tappy/issues/29 and the related video https://www.youtube.com/watch?v=P_YJe1MQ4m8)
Steps to Reproduce:
1. visit http://patrickhlauke.github.io/touch/tests/event-listener_link.html
2. long-press on the "Test button!" link
3. context menu appears
Actual result:
- as long as the finger remains in contact with the touchscreen when the context menu appears, it is still possible to scroll/interact with the underlying document; touchmove events are fired; lifting the finger off the screen (to interact with the context menu options) fires touchend - see https://www.youtube.com/watch?v=oggIAZ9uHug
Expected result:
- as soon as the context menu appears, fire touchcancel - which is what happens in Chrome/Android, see https://www.youtube.com/watch?v=Yoja9elNArs
Tested on iOS 9.2 (13C75)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160113/e5c7f512/attachment.html>
More information about the webkit-unassigned
mailing list