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 was archived by the owner on Sep 8, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 8, 2020. It is now read-only.
I can get the buttom 4 lists sortable and draggable with them self, but I want to add a list on the top that can only drag items in de sortable lists. Also the items that are dragged are copied (Just like the example on jqueryui).
I didn't know about the draggable/#sortable combo but I think that an issue with a similar use case was submitted at some point.
The final solution looked like this pen. You essentially clone the elements of the first list by restoring its model to the initial state right after the drag stops.
I just found an jquery-ui issue that has a drop-clone example. It seems that jquery-ui does not provide a simple way to do this. In my opinion restoring the ng-model looks less like the trickery magic the jquery-ui example shows.
Also created a new pen, removing update&stop() in favor or (properly) utilizing the connectWith option.
Activity
thgreasi commentedon Mar 3, 2014
I didn't know about the draggable/#sortable combo but I think that an issue with a similar use case was submitted at some point.
The final solution looked like this pen. You essentially clone the elements of the first list by restoring its model to the initial state right after the drag stops.
thgreasi commentedon Mar 3, 2014
In the example you provided, the issue was that jquery-ui was loaded before jquery (as shown here).
TheBoef commentedon Mar 4, 2014
Thanks for the example! Working with your solution right now!
thgreasi commentedon Mar 4, 2014
I will just repost here:
Should this issue be considered resolved?
TheBoef commentedon Mar 5, 2014
Yes, thanks for the help!