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 00cef94 commit ada711cCopy full SHA for ada711c
dist/index.js
@@ -676,9 +676,9 @@
676
var scrollShape = root[this.isHorizontal ? 'scrollWidth' : 'scrollHeight'];
677
678
if (isUpper && !!this.dataSources.length && offset - this.upperThreshold <= 0) {
679
- this.$emit('toupper', evt, range);
+ this.$emit('totop', evt, range);
680
} else if (isLower && offset + offsetShape + this.lowerThreshold >= scrollShape) {
681
- this.$emit('tolower', evt, range);
+ this.$emit('tobottom', evt, range);
682
} else {
683
this.$emit('scroll', evt, range);
684
}
0 commit comments