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.
1 parent 11546d8 commit 5fb219eCopy full SHA for 5fb219e
src/components/DynamicScrollerItem.vue
@@ -78,16 +78,14 @@ export default {
78
}
79
80
81
- if (value && this.$_pendingVScrollUpdate === this.id) {
82
- this.updateSize()
83
- }
84
-
85
if (this.vscrollResizeObserver) {
86
if (value) {
87
this.observeSize()
88
} else {
89
this.unobserveSize()
90
+ } else if (value && this.$_pendingVScrollUpdate === this.id) {
+ this.updateSize()
91
92
},
93
@@ -164,7 +162,6 @@ export default {
164
162
165
163
166
computeSize (id) {
167
- if (this.vscrollResizeObserver) return
168
this.$nextTick(() => {
169
if (this.id === id) {
170
const width = this.$el.offsetWidth
0 commit comments