-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Navigation_control.js has copyMouseEvent function which ignores buttons #5148
Comments
Fixed in #5157. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Navigation_control.js has copyMouseEvent function which ignores buttons and forces right mouse button. This event propagates to the map and fires our right mouse up handler.
mapbox-gl-js version: 0.39.1
Steps to Trigger Behavior
Expected Behavior
copyMouseEvent copies original button
Actual Behavior
copyMouseEvent has hard-coded buttons: 2
See: https://jsfiddle.net/oqnta3ek/
The text was updated successfully, but these errors were encountered: