[Webkit-unassigned] [Bug 220642] New: Long pressing on an img that has -webkit-touch-callout: none causes an extra mousedown to fire

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 14 17:00:44 PST 2021


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

            Bug ID: 220642
           Summary: Long pressing on an img that has
                    -webkit-touch-callout: none causes an extra mousedown
                    to fire
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: iOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jarod.gowgiel at gmail.com

On an iOS device, long pressing on a regular div fires two events: a touchstart, and then a touchend when the finger is released. Long pressing on an img element, however, fires three events: a touchstart, then a short while thereafter a mousedown, and finally a touchend. I've written up a trivial example to show this difference at https://codepen.io/JarodG/pen/zYKMeaJ

I'd expect that, with -webkit-touch-callout disabled (which prevents the image preview / save callout) the long press behavior would be the same between these two elements, especially since a regular tap fires the same events for both.

-- 
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/20210115/b874b365/attachment.htm>


More information about the webkit-unassigned mailing list