Skip to content

Commit

Permalink
fix: issue with beforeDestroy hook (#748)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsvs12 authored Oct 10, 2022
1 parent 9673679 commit 59f3f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DynamicScrollerItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export default {
},
observeSize () {
if (!this.vscrollResizeObserver) return
if (!this.vscrollResizeObserver || !this.$el.parentNode) return
this.vscrollResizeObserver.observe(this.$el.parentNode)
this.$el.parentNode.addEventListener('resize', this.onResize)
},
Expand Down

0 comments on commit 59f3f1b

Please # to comment.