You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2019. It is now read-only.
I have a grid of droppables that the user can drag items into. I'd like to allow those items to be deleted by dragging items away from the grid. It seems the default is to return the item to it's previous droppable.
Any suggestions?
The text was updated successfully, but these errors were encountered:
I have never tried to implement this behavior, but maybe you are able to implement it in the draggable:stop event. However, you would have to check whether the draggable has been stopped outside or not on your own.
Turns out I jumped the gun on this. Can't seem to find anything that consistently gives me correct final positioning of the dragged item. I've tried offset and getBoundingClientRect, both can return results that are completely off screen even when the item is dropped within the grid.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a grid of droppables that the user can drag items into. I'd like to allow those items to be deleted by dragging items away from the grid. It seems the default is to return the item to it's previous droppable.
Any suggestions?
The text was updated successfully, but these errors were encountered: