-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When moving elements on nested listing, the element gets cloned on the list it moved from #29
Comments
Is this a sortable bug or an angular sortable specific one? |
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 |
@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. |
ah nest isnt officially supported by sortableJS I believe. It maybe worth raising this as an issue in the main repo |
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. |
I have the same problem, have you figure it out???? |
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! |
… to another list
…ne list to another
You are best, beazergood!!! |
When moving from one nested listing to another, the element move but creates a clone on the older list.
I've made this plunker to recreate the problem.
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.
The text was updated successfully, but these errors were encountered: