Bug 273946

Summary: [macOS, iOS, iPadOS, visionOS] Add auxclick event API Element
Product: WebKit Reporter: Jeffrey Blanz <possum.bracing0v>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Enhancement CC: a_protyasha, possum.bracing0v, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 18   
Hardware: All   
OS: All   
URL: https://mdn.github.io/dom-examples/auxclick/

Jeffrey Blanz
Reported 2024-05-09 08:55:46 PDT
This event is useful when using a gaming mouse that has multiple buttons. It should be added to macOS, iOS, iPadOS, and visionOS Lack of the auxclick event, which should be a pointer event as well, means games cannot bind actions to 3rd, 4th, 5th, etc. mouse buttons. Here is a link to a auxclick demo that works on safari and chrome: - The background will change for normal clicks, and for aux clicks the text of the "Click me!" will change colors. - Note: On safari the "Click me!" does not change colors when clicking with a 3rd mouse button. https://github.com/mdn/dom-examples/blob/main/auxclick/README.md https://mdn.github.io/dom-examples/auxclick/
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-16 08:56:15 PDT
Jeffrey Blanz
Comment 2 2024-07-17 13:43:25 PDT
Closing because of a duplicate bug: https://bugs.webkit.org/show_bug.cgi?id=22382 There is a pull request for that bug form right now too.
Jeffrey Blanz
Comment 3 2024-07-17 13:43:55 PDT
*** This bug has been marked as a duplicate of bug 22382 ***
Note You need to log in before you can comment on or make changes to this bug.