SortableJS / vue.draggable.next

Vue 3 compatible drag-and-drop component based on Sortable.js
https://sortablejs.github.io/vue.draggable.next/#/simple
MIT License
3.91k stars 531 forks source link

Cannot set properties of null (setting '__draggable_context') #145

Open zhyswan opened 2 years ago

zhyswan commented 2 years ago

Cannot set properties of null (setting '__draggable_context') vue3.2 之后 无法获取到 node.el bug 修复 Bug fix 在使用 tag="transition-group" 的时候,需要至少两层 html 标签

<template #item="{ element }">
  <div class="list-group-item">
    <div>{{ element.name }}</div>
  </div>
</template>
carl-jin commented 2 years ago

套了 2 层还是报错

tujianglin commented 2 years ago

套了 2 层还是报错

你有发现怎么解决吗

dorklein commented 2 years ago

When is this going to be pushed to the next release?

carl-jin commented 2 years ago

套了 2 层还是报错

你有发现怎么解决吗

放弃了 transition-group。

micahlt commented 2 years ago

Please get this merged @David-Desmaisons!

NoxPhoenix commented 2 years ago

Would love for this to be merged!

b-d-k commented 2 years ago

The PR goes way beyond the scope of fixing an error. Still it would be nice if the authors "un-abandoned" this project.

tamasnorbert commented 2 years ago

Will this be pushed? @David-Desmaisons

toniengelhardt commented 2 years ago

I installed this PR and it works perfectly, thanks a lot 🙏🏽

bridgeL commented 2 years ago

可以正确使用Transition了,爱你

caohongtao commented 8 months ago

测试了,可以使用。在package.json中引用他的github仓库就行了。thanks a lot 🙏🏽 "vuedraggable": "git+https://github.com/zhyswan/vue.draggable.next.git#master",