This repository was archived by the owner on Sep 8, 2020. It is now read-only.
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
canceling drag between connected lists drops item #107
Closed
Description
I'm trying to cancel dragging an item from one list to another if certain conditions are met (in the example, max list size).
http://codepen.io/anon/pen/toDej
Try to have more than 10 things in one of the lists. Visually, there are no problems, but if you log out the results, you see items are getting removed from one list and not put back. It could be that I'm approaching this wrong, but I'm running out of ideas.
Oh, and I am using the angular1.2 branch.