Bug 273946
Summary: | [macOS, iOS, iPadOS, visionOS] Add auxclick event API Element | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jeffrey Blanz <possum.bracing0v> |
Component: | UI Events | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/128201232>
Jeffrey Blanz
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
*** This bug has been marked as a duplicate of bug 22382 ***