[Webkit-unassigned] [Bug 213953] New: AX: Safari on iOS 12 and later does not fire "contextmenu" event listeners
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 3 23:15:54 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=213953
Bug ID: 213953
Summary: AX: Safari on iOS 12 and later does not fire
"contextmenu" event listeners
Product: WebKit
Version: Safari 13
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: cookiengineer+webkit at gmail.com
Created attachment 403513
--> https://bugs.webkit.org/attachment.cgi?id=403513&action=review
Reduced test case for contextmenu event
Safari mobile (on iOS) doesn't fire the "contextmenu" event on elements, and therefore doesn't allow easy integration of html custom context menus.
When using addEventListener('contextmenu') on an element, by default the magnifier is always fired (even if the element doesn't have any text content). When using "-webkit-user-select: none" and "user-select: none", the magnifier is disabled - though the contextmenu event isn't fired anyhow.
The attachment is a reduced test case, where other browsers on other operating systems will behave like expected, and a long-press on mobile (or right click on desktop) of an element leads to the rectangle turning green. Only WebKit/Safari on iOS seems to not allow contextmenu events.
--
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/20200704/d0470ac4/attachment.htm>
More information about the webkit-unassigned
mailing list