vue-smooth-dnd icon indicating copy to clipboard operation
vue-smooth-dnd copied to clipboard

Two Separate Vue Instances are Communicating

Open ghost opened this issue 5 years ago • 1 comments

If I have two separate vue instances on the page when I drag and drop from one instance it removes the draggable item from the other instance. I am assuming that this is happening because of the custom events they emit but not sure how to prevent it as I obviously need those events for the library to work. Thanks for any input you can provide.

ghost avatar Dec 10 '18 16:12 ghost

I'm dragging between components by using vuex, and calling an action from the component on drop.

Otherwise, you can set behavior to copy instead of move, according to the docs.

jerme404 avatar Apr 22 '19 00:04 jerme404