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 2eae1f3 commit d3c7202Copy full SHA for d3c7202
packages/vue-virtual-scroller/src/components/RecycleScroller.vue
@@ -378,7 +378,8 @@ export default {
378
handleScroll (event) {
379
if (!this.$_scrollDirty) {
380
this.$_scrollDirty = true
381
- this.$emit('scroll-start', this.getScroll());
+ const scroll = this.getScroll()
382
+ this.$emit('scroll-start',scroll);
383
if (this.$_updateTimeout) return
384
385
const requestUpdate = () => requestAnimationFrame(() => {
@@ -390,7 +391,7 @@ export default {
390
391
if (!continuous) {
392
clearTimeout(this.$_refreshTimeout)
393
this.$_refreshTimeout = setTimeout(this.handleScroll, this.updateInterval + 100)
- this.$emit('scroll-end', this.getScroll());
394
+ this.$emit('scroll-end', scroll);
395
}
396
})
397
0 commit comments