-
-
Notifications
You must be signed in to change notification settings - Fork 461
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
abort sortleave event #790
Comments
Hey, there is no specific functionality for this. But you should be able to add it to the sortleave event handler. Did you try a simple |
I've tried to do it as you've said (calling |
Hmm, in this case it is really missing. Would you be able to send a PR that adds this functionality? |
how do you prevent the item from being removed in your demo? |
@ZZaria what specifically are you referring to? |
https://lukasoppermann.github.io/html5sortable/index.html in the first sortable list, the element doesn't disappear when dragged off, it just returns to its original postion when the mouse is released |
any update? |
No. But I am very happy to accept a PR if you are able to send one. |
Is there the chance to abort the sortleave event and avoid an item from being removed from the list?
The text was updated successfully, but these errors were encountered: