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

Placement Is Off when :class is used on a child container #212

Open
justwiebe opened this issue Jul 1, 2022 · 0 comments
Open

Placement Is Off when :class is used on a child container #212

justwiebe opened this issue Jul 1, 2022 · 0 comments

Comments

@justwiebe
Copy link

Repro link: https://codesandbox.io/s/vue-smooth-dnd-nested-bug-thwo5e

When :class is used in a nested dnd container, Vue removes the smooth-dnd-container class from the element and it's never put back on. This causes smooth-dnd to use the parent container as a reference for where to place the dropped element in the list.

Workaround: use a wrapper or child div to put the class on instead of putting it on the <container>

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

1 participant