-
Notifications
You must be signed in to change notification settings - Fork 786
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
How to stop dragging element on ESC? #259
Comments
I've merged #258. Manually creating and triggering a |
@taye thanks :). Why don't you think that interact.js should have such function? |
I think it should have it and I'm working on this in #231 but it will take some time. |
@taye great, wish you good luck |
@hyzhak @salzhrani In the latest |
Hi @taye , when would you call |
like @spierala i can get how to implement this.. |
I need to stop dragging element and return it to default state on ESC keypress. I'm using
interact.stop()
but it has bug #258 and even with this fix it doesn't triggerdragend
event. So I need to trigger it manually. Is it ok? Maybe there other more convenient way to cancel/stop dragging on-a-fly?The text was updated successfully, but these errors were encountered: