-
Notifications
You must be signed in to change notification settings - Fork 47.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Support auxclick event (onAuxClick) #8529
Comments
Middle-clicking in our app broke as of Chrome 55 because of this. Would appreciate |
I found the same problem, but came up with the following work around, using refs. In the following,
Obviously you can put whatever you want in your addEventListerner callback. It's working really well so far. 🌭 |
jeez this is annoying. @nhunzaker @sebmarkbage @aweary Should we "fix" this in an event plugin or simply add the new event? I'm guessing that middle button clicks are explicitly specced so this doesn't count as breaking, but jeez |
B-bump. It would be really nice to have auxclick in react... |
@jquense This came up with regard to active/passive events too. If an intervention came as a result of something that isn't common in the React ecosystem, then we can probably "fix" it. However, this seems like something that would be relevant to us. So we should probably follow along and add another event? |
Fixed by #11571 |
FYI, if anyone else gets tripped up (like I was) because Safari still sends |
Version 15.4.1
As starting Chrome 55, there is a new event
auxclick
to handle middle click, andclick
doesn't trigger by middle click anymorehttps://developers.google.com/web/updates/2016/10/auxclick
The text was updated successfully, but these errors were encountered: