REOPENED 204590
Right-click not being caught by pointerup event listener
https://bugs.webkit.org/show_bug.cgi?id=204590
Summary Right-click not being caught by pointerup event listener
Cory
Reported 2019-11-25 12:21:48 PST
Right-click not being caught by pointerup event listener on window. Simple test: window.addEventListener('pointerup', function() { alert('Hello world'); }); Then right-click anywhere on the page.
Attachments
Radar WebKit Bug Importer
Comment 1 2019-11-25 19:09:24 PST
Antoine Quint
Comment 2 2019-12-03 03:02:24 PST
I don't have an actual mouse to test with, but opening the Web Inspector on this very page and pasting the code you wrote in your comment in the Console and then option+click with my MacBook Pro showed Hello World! with STP 96. Can you provide more details with your configuration?
Cory
Comment 3 2019-12-03 10:05:25 PST
(In reply to Antoine Quint from comment #2) > I don't have an actual mouse to test with, but opening the Web Inspector on > this very page and pasting the code you wrote in your comment in the Console > and then option+click with my MacBook Pro showed Hello World! with STP 96. > > Can you provide more details with your configuration? Option + Click is recognized, but not right-click. If you don't own a mouse, you can try clicking with 2 fingers on a Macbook trackpad (the equivalent to a mouse right-click) to see the same results.
Antoine Quint
Comment 4 2019-12-03 11:26:48 PST
Reopening, thanks for the clarification Cory.
Note You need to log in before you can comment on or make changes to this bug.