[Webkit-unassigned] [Bug 232123] New: First pointerdown event lost after context menu is triggered

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 21 18:02:57 PDT 2021


            Bug ID: 232123
           Summary: First pointerdown event lost after context menu is
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Intel)
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andrewohlmann at gmail.com


Pointer down events in Safari fail after triggering a context menu

Steps to Reproduce:

I've created a simple test case here: https://jsfiddle.net/pyzt3wf1/1/ which consists of a single div with some standard UI event listeners (mousedown, mouseup, pointerdown, pointerup, click ).

1) Right click (or ctrl-click) anywhere in content area of the browser window on the linked example to trigger the browser's context menu.
2) Dismiss the context menu by clicking outside of it.
3) Click on the "click me" button to trigger that div's event listeners, which should trigger console logs viewable in either Safari's developer tools or within jsfiddle's built-in console, viewable by clicking ">_ Console(beta)" at the bottom of the preview frame.

Actual Results:

All of the events fire their respective callback, except for pointerdown. The console reads:

Subsequent clicks on the div appear to trigger events correctly.

Expected Results:

All of the events should fire their respective callback. The console should read:

Date & Hardware: This bug has been reproduced on Safari 15.0 on both OS 10.15.7 and 11.6 . Similar behavior was experienced with Safari 14, although it hasn't been narrowed down to a reproducible case until now.

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/20211022/620b5d9f/attachment.htm>

More information about the webkit-unassigned mailing list