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

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

Open
ffxsam opened this issue Apr 20, 2023 · 2 comments

Comments

@ffxsam
Copy link
Contributor

ffxsam commented Apr 20, 2023

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.

CleanShot.2023-04-20.at.12.43.29.mp4
@FireNick44
Copy link

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

@ffxsam
Copy link
Contributor Author

ffxsam commented Aug 4, 2023

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

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