We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 09fdc49 + 8ecfc4a commit f0a4b88Copy full SHA for f0a4b88
src/collectionview/vue/component.ts
@@ -79,9 +79,9 @@ export default {
79
},
80
onItemDisposingInternal(args) {
81
const oldVnode = args.view && args.view[VUE_VIEW];
82
- if (oldVnode && oldVnode.componentInstance) {
83
- oldVnode.componentInstance.$destroy();
84
- args.view[VUE_VIEW] = null;
+ if (oldVnode) {
+ // properly dispose the oldVnode (this will unmount the tree)
+ this.__patch__(oldVnode, null);
85
}
86
87
refresh() {
0 commit comments