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 67a796b commit f706df4Copy full SHA for f706df4
src/index.js
@@ -113,7 +113,7 @@ const VirtualList = Vue.component('virtual-list', {
113
return document.documentElement[key] || document.body[key]
114
} else {
115
const { root } = this.$refs
116
- return root ? root[key] : 0
+ return root ? Math.ceil(root[key]) : 0
117
}
118
},
119
@@ -124,7 +124,7 @@ const VirtualList = Vue.component('virtual-list', {
124
125
126
127
128
129
130
0 commit comments