Skip to content
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

Right click should not trigger drag handler #21

Open
christopherthielen opened this issue Jan 28, 2017 · 0 comments
Open

Right click should not trigger drag handler #21

christopherthielen opened this issue Jan 28, 2017 · 0 comments
Labels
Milestone

Comments

@christopherthielen
Copy link
Member

christopherthielen commented Jan 28, 2017

if (!enabled) return;

Should check for e.button === 1

See: https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button

@christopherthielen christopherthielen added this to the 3.1.0 milestone Jan 28, 2017
@christopherthielen christopherthielen modified the milestones: 3.1.0, 3.2.0, 3.1.3 Feb 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant