We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f66e77a commit d94ff11Copy full SHA for d94ff11
src/core/componentStructure.js
@@ -30,7 +30,7 @@ class ComponentStructure {
30
updated() {
31
const { defaultNodes, realList } = this;
32
defaultNodes.forEach((node, index) => {
33
- addContext(getHtmlElementFromNode(node), {
+ addContext(getHtmlElementFromNode(node) || {}, {
34
element: realList[index],
35
index
36
});
src/vuedraggable.js
@@ -139,7 +139,7 @@ const draggableComponent = defineComponent({
139
},
140
141
142
- this.componentStructure.updated();
+ this.$nextTick(() => this.componentStructure.updated());
143
144
145
beforeUnmount() {
0 commit comments