[Webkit-unassigned] [Bug 203364] New: Pointer Events aren't properly captured when event target is nested
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 24 06:15:39 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=203364
Bug ID: 203364
Summary: Pointer Events aren't properly captured when event
target is nested
Product: WebKit
Version: Safari 13
Hardware: iPhone / iPad
OS: iOS 13
Status: NEW
Severity: Normal
Priority: P2
Component: UI Events
Assignee: webkit-unassigned at lists.webkit.org
Reporter: david.bismut at gmail.com
I found that capturing a pointer id doesn't work properly if the source element of the pointer down event is nested inside the node bound to the event listener.
Here is a repro sandbox:
https://codesandbox.io/s/twilight-dew-76ii9
Using an iPhone with iOS 13.2 beta, I noticed that the green square stops registering events when you start dragging inside the inner node as soon as your finger moves out of the green square.
Reproduction steps:
1. Touch the green square inside the `drag me` node
2. Move your finger outside of the green square
3. You should notice that the log element stops updating as soon as your finger moves out of the green square.
4. If you do the same starting from outside the `drag me` inner node (but still inside green square), you should see the log updating even when your finger moves out of the green square.
5. If you do the same on the pink square, you should see the log updating even when your finger moves out of the pink square.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191024/c7befbb9/attachment-0001.htm>
More information about the webkit-unassigned
mailing list