[Webkit-unassigned] [Bug 202143] [iOS] iOS 13 does not send proper events in Safari, such as double tap and long touch, possibly​ influencing Leaflet JS apps​

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 30 07:13:19 PDT 2019


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

--- Comment #4 from Antoine Quint <graouts at apple.com> ---
So, first, the "contextmenu" Leaflet event is not triggered because the Leaflet code uses "pointerdown" and "touchstart" events interchangeably and the availability of the former excludes the other. In Map.Tap.js the `_onDown` method has this check `if (!e.touches) { return; }` which will always lead to an early return since a PointerEvent event is not the same as a TouchEvent and does not have a `touches` property.

So the lack of a Leaflet "contextmenu" event being triggered is a Leaflet issue specifically.

-- 
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/20190930/b8c2a9f8/attachment.html>


More information about the webkit-unassigned mailing list