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 13b39cd commit d587f68Copy full SHA for d587f68
index.js
@@ -342,7 +342,8 @@
342
this.$nextTick(this.setScrollTop.bind(this, this.alter === 'offset'
343
? this.offset : this.variable
344
? this.getVarOffset(zone.isLast ? delta.total : zone.start)
345
- : zone.isLast ? delta.total * this.size : zone.start * this.size)
+ : zone.isLast && (delta.total - calcstart <= this.remain)
346
+ ? delta.total * this.size : calcstart * this.size)
347
)
348
}
349
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "vue-virtual-scroll-list",
3
- "version": "1.2.2",
+ "version": "1.2.3",
4
"description": "A vue (2.x) component that support big data list with high scroll performance.",
5
"main": "index.js",
6
"files": [
0 commit comments