-
-
Notifications
You must be signed in to change notification settings - Fork 633
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
In Firefox, onClick is triggered by middle and right mouse buttons #1273
Comments
But If we stop those events how does one implement right click event listener? |
@Havunen, Check in FireFox and Chrome: For actual right click events/menus you need to use |
Okay I see now, We can fix it for next minor version :) |
It is now tested / fixed, and will be available in next release. 4.0.3 |
Observed Behaviour
Inferno is firing
onClick
handlers in Firefox when user presses middle or right mouse button on element.See original Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=184051
Since it's 15 years old, Inferno probably needs workaround.
Expected Current Behaviour
Inferno should not dispatch onClick events in Firefox when
event.button !== 0
Inferno Metadata
Firefox-only, any version
The text was updated successfully, but these errors were encountered: