[Webkit-unassigned] [Bug 231161] REGRESSION (iOS 15): Safari shows zoom callout even if -webkit-touch-callout is none

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 4 17:32:08 PDT 2021


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

--- Comment #2 from Wenson Hsieh <wenson_hsieh at apple.com> ---
The (perhaps unfortunately named) CSS property `-webkit-touch-callout` controls whether or not we should present a context menu when long pressing over a particular element.

It sounded like you might want `-webkit-user-select: none;` instead, but while this does prevent text selection, it doesn't prevent the loupe gesture magnifier from popping up :/

One thing that does seem to work is adding an active "touchstart" event listener and preventing default.

-- 
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/20211005/89815ccc/attachment.htm>


More information about the webkit-unassigned mailing list