[Webkit-unassigned] [Bug 184250] Unable to call event.preventDefault in dynamically added event listener

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 3 17:11:26 PDT 2018


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

Max Hoffmann <tsov at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tsov at me.com

--- Comment #4 from Max Hoffmann <tsov at me.com> ---
I can confirm this for:

- Safari 11.3 on Mac OS X 10.13.3
- Safari 11.3 on iOS 11.3

Any drag and drop implementation for touch relies on calling `touchMoveEvent.preventDefault()` to cancel native scrolling. I could imagine most dnd solutions out there adding `touchmove` as child listeners.

The current workaround suggested by alexreardon at gmail.com works well, but won't work when dynamically adding `touchmove` events to other documents, like iframes.

-- 
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/20180404/fa9f7458/attachment-0002.html>


More information about the webkit-unassigned mailing list