Skip to content

Commit eb22df7

Browse files
committed
Fix #206
1 parent 9aaea8d commit eb22df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ const VirtualList = Vue.component('virtual-list', {
240240
const scrollSize = this.getScrollSize()
241241

242242
// iOS scroll-spring-back behavior will make direction mistake
243-
if (offset < 0 || (offset + clientSize > scrollSize) || !scrollSize) {
243+
if (offset < 0 || (offset + clientSize > scrollSize + 1) || !scrollSize) {
244244
return
245245
}
246246

0 commit comments

Comments
 (0)