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 }}
Repository navigation
When moving elements on nested listing, the element gets cloned on the list it moved from #29
If you move, for example, one "Shirt" from the "Shirt list" into a "Shoes list", the shirt will move, but the same shirt will be recreated on the "Shirt list" again, cloning the element.
@samjacobclift I don't know, but it seems to be sortable issue, since it's happening only in a nested list and only when moving from one to another. If the we move in the same list, just to reorder the list, nothing happens. In the same example, if you drag the whole category list, it will move and doesn't clone. The problem only happen within the products list.
But did you saw the plunker i did? Because the sorting does happen and work. The problem is when you want to remove an item from one nested listing and add to another nested listing.
It also does remove and move. But it creates a clone on the list it got removed from, duplicating the element, leaving one on the new nested listing and one in the old nested listing.
Activity
samjacobclift commentedon Apr 10, 2017
Is this a sortable bug or an angular sortable specific one?
samjacobclift commentedon Apr 10, 2017
I'm working on a simple e2e test suite so if I can get that done I can use this to write a test case if its a sortable issue
celsomtrindade commentedon Apr 10, 2017
@samjacobclift I don't know, but it seems to be sortable issue, since it's happening only in a nested list and only when moving from one to another. If the we move in the same list, just to reorder the list, nothing happens. In the same example, if you drag the whole category list, it will move and doesn't clone. The problem only happen within the products list.
But like I said, I'm not sure.
samjacobclift commentedon Apr 10, 2017
ah nest isnt officially supported by sortableJS I believe. It maybe worth raising this as an issue in the main repo
celsomtrindade commentedon Apr 10, 2017
But did you saw the plunker i did? Because the sorting does happen and work. The problem is when you want to remove an item from one nested listing and add to another nested listing.
It also does remove and move. But it creates a clone on the list it got removed from, duplicating the element, leaving one on the new nested listing and one in the old nested listing.
ZiQiangWang commentedon Apr 28, 2017
I have the same problem, have you figure it out????
beazergood commentedon May 8, 2017
I too appear to have this same issue. Dragging between lists the dragged item reappears: http://jsbin.com/yuvucim/edit?html,js,output
Would love to find out why!
issue SortableJS#29: temporary fixed element clonning on move element…
issue SortableJS#29: Fixed item reappearance when it is pulled from o…
nguyentrangdong commentedon Feb 14, 2019
You are best, beazergood!!!