ember-drag-drop
ember-drag-drop copied to clipboard
duplicate dom elements when using multiple lists
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?
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.
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.
great, thank you very much @dgavey :)