gilnd / vue3-smooth-dnd

Vue3 wrapper components for smooth-dnd
https://gilnd.github.io/vue3-smooth-dnd/
MIT License
191 stars 18 forks source link

Items dropped outside container perform "removeOnDropOut" animation even if that option is false #13

Open ffxsam opened 1 year ago

ffxsam commented 1 year ago

Reproduction here: https://stackblitz.com/edit/vue-udpcdk?file=src%2FApp.vue,src%2Fcomponents%2FBrokenList.vue,src%2Fcomponents%2FWorkingList.vue

https://stackblitz.com/edit/vue-udpcdk?file=src%2FApp.vue,src%2Fcomponents%2FBrokenList.vue,src%2Fcomponents%2FWorkingList.vue

Top list is vue3-smooth-dnd, bottom list is regular smooth-dnd. Note that if you drag an item outside the top list, it acts like it's going to remove itself. This doesn't happen in smooth-dnd, so this is somehow an issue limited to this fork?

Happy to help fix this if you have a hunch. This package just seems like a wrapper around smooth-dnd, and I don't see any reason it should behave this way.

https://user-images.githubusercontent.com/12532733/233446195-2b95b004-58ea-4c10-8136-271b964ca61a.mp4

FireNick44 commented 1 year ago

I have the same problem, did you find a solution?

ffxsam commented 1 year ago

@FireNick44 Not yet. I'm gonna take a second look at it again soon, though, to see if I can figure it out.