Skip to content
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

duplicate dom elements when using multiple lists #51

Open
willrax opened this issue Jul 18, 2016 · 3 comments
Open

duplicate dom elements when using multiple lists #51

willrax opened this issue Jul 18, 2016 · 3 comments

Comments

@willrax
Copy link

willrax commented Jul 18, 2016

Hi. Been noticing that with multiple lists on a page that dom elements can be duplicating.

Using this demo:

http://mharris717.github.io/ember-drag-drop/#/sort

dragging an object from the left and placing it over the top of another object will duplicate the object from the right list to the left list and you'll have two of the same elements. (attached screen shot)

Any ideas on what could be happening?

screen shot 2016-07-18 at 10 09 52

@willrax
Copy link
Author

willrax commented Jul 18, 2016

After messing around a bit, I was able to stop this from happening by making enableSort false on other the lists that aren't being sorted and keeping it true on the list that I am sorting.

@dgavey
Copy link
Collaborator

dgavey commented Aug 10, 2016

Just merged into master some code that actually enables dragging of elements from one list to another. I'll tag and push it soon, after I can update some demos, then maybe you can test it again to see if it's still an issue for you.

@willrax
Copy link
Author

willrax commented Aug 10, 2016

great, thank you very much @dgavey :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants