[Webkit-unassigned] [Bug 220196] [iOS] #setPointerCapture does not dispatch pointer events outside element boundary

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 12 18:04:30 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=220196

thatcomputerguy0101 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thatcomputerguy0101 at gmail.c
                   |                            |om

--- Comment #6 from thatcomputerguy0101 at gmail.com ---
This appears to be the same issue that I have documented and created a polyfill for on Stack Overflow: https://stackoverflow.com/questions/64017560/detect-ios-pointer-capture-bug-for-polyfilling. That polyfill has a basic user-agent detection mechanism, so currently will only work on Safari browsers and not other iOS browsers that share the same WebKit engine. Additionally, it will (harmlessly) over-trigger on MacOS Safari.

My demonstration of this problem is located at https://thatcomputerguy0101.github.io/iOS_pointerCapture_bug/index.html. The green and yellow divs will correctly track the pointer movement if the pointer starts on the respective element, but the orange div should act the same and the red div should never move. Both of the latter will still track the pointer as long as the pointer remains over the divs.

-- 
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/20220413/c6d6f8f6/attachment-0001.htm>


More information about the webkit-unassigned mailing list