Open hamedhmb opened 2 years ago
When do you exactly want the item to return to it's previous position? One way that comes to mind in general is to keep track of the previous order of items and using sort method to put the items in the previous positions whenever you need that to happen.
I want the item to return to its previous position when the item being dragged on the example grid?