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 2a54b16 commit b8153a9Copy full SHA for b8153a9
src/index.js
@@ -195,7 +195,7 @@ const VirtualList = Vue.component('virtual-list', {
195
const scrollSize = this.getScrollSize()
196
197
// iOS scroll-spring-back behavior will make direction mistake
198
- if (offset + clientSize > scrollSize || !scrollSize) {
+ if (offset < 0 || (offset + clientSize > scrollSize) || !scrollSize) {
199
return
200
}
201
0 commit comments