Alfred-Skyblue / vue-draggable-plus

Universal Drag-and-Drop Component Supporting both Vue 3 and Vue 2
https://vue-draggable-plus.pages.dev/en/
MIT License
3.05k stars 128 forks source link

Moving dynamic components between lists not working, but using cloning works. #91

Open nyerslaszlo opened 8 months ago

nyerslaszlo commented 8 months ago

Reproduction: https://codesandbox.io/p/devbox/flamboyant-fast-vjtkjj?file=%2Fsrc%2FApp.vue%3A10%2C17

Description: When using dynamic components (<component :is="importedComponent" />) as draggable elements between two or more lists, if not using cloning, the moved element fails to render.

When you clone an element to another list, it works as expected.

Is there any way to make moving elements between lists work with dynamic components?