Skip to content

Commit f6954a9

Browse files
committed
Fixed error, if the number of items is less than remain,when start props is setted, it would appear unexpected blank.
1 parent 5a5fa3b commit f6954a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
}
6767

6868
delta.end = end
69-
delta.start = start
69+
if (start >= this.remain) delta.start = start
7070

7171
this.$forceUpdate()
7272
Vue2.nextTick(this.setScrollTop.bind(this, scrollTop))

0 commit comments

Comments
 (0)