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 6e4d357 commit 760c8a3Copy full SHA for 760c8a3
src/components/DynamicScrollerItem.vue
@@ -140,12 +140,13 @@ export default {
140
this.$nextTick(() => {
141
if (this.id === id) {
142
const size = this.getSize()
143
- if (size.height && this.height !== size.height) {
+ const height = Math.round(size.height)
144
+ if (height && this.height !== height) {
145
if (this.vscrollBus.$_undefinedMap[id]) {
146
this.vscrollBus.$_undefinedHeights--
147
this.vscrollBus.$_undefinedMap[id] = undefined
148
}
- this.$set(this.vscrollData.heights, this.id, size.height)
149
+ this.$set(this.vscrollData.heights, this.id, height)
150
if (this.emitResize) this.$emit('resize', this.id)
151
152
0 commit comments