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

Control + mouseclick starts a drag event #420

Closed
smogg opened this issue Apr 4, 2018 · 4 comments
Closed

Control + mouseclick starts a drag event #420

smogg opened this issue Apr 4, 2018 · 4 comments

Comments

@smogg
Copy link

smogg commented Apr 4, 2018

Bug

Opening a context menu with Ctrl+Click starts a drag.

Expected behavior

Drag shouldn't be started, draggable item should stay in place

Actual behavior

Draggable element "follows" the mouse even when mouse button is not pressed

Steps to reproduce

Ctrl + click draggable item, click outside the context menu, move your mouse

Demo

control click

@alexreardon
Copy link
Collaborator

For sure! We should not start a drag when this happens

@alexreardon
Copy link
Collaborator

I have created a PR that fixes this issue 🎉

@smogg
Copy link
Author

smogg commented Apr 4, 2018

🎉 Thank you, sir!

@alexreardon
Copy link
Collaborator

Thanks for raising this @smogg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants