Skip to content

Commit 89ea438

Browse files
committed
fix: Infinite scroll load more delay (close quasarframework#1990)
1 parent 5fb1a25 commit 89ea438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/infinite-scroll/QInfiniteScroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ export default {
7171
},
7272
mounted () {
7373
this.$nextTick(() => {
74-
this.poll = debounce(this.poll, 50)
7574
this.element = this.$refs.content
7675

7776
this.scrollContainer = this.inline ? this.$el : getScrollTarget(this.$el)
@@ -80,6 +79,7 @@ export default {
8079
}
8180

8281
this.poll()
82+
this.poll = debounce(this.poll, 50)
8383
})
8484
},
8585
beforeDestroy () {

0 commit comments

Comments
 (0)