File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,9 +135,9 @@ const VirtualList = Vue.component(NAME, {
135
135
const offsetShape = root [ this . isHorizontal ? 'clientWidth' : 'clientHeight' ]
136
136
const scrollShape = root [ this . isHorizontal ? 'scrollWidth' : 'scrollHeight' ]
137
137
138
- if ( isLower && ! ! this . dataSources . length && offset - this . upperThreshold <= 0 ) {
138
+ if ( isUpper && ! ! this . dataSources . length && offset - this . upperThreshold <= 0 ) {
139
139
this . $emit ( 'toupper' , evt , range )
140
- } else if ( isUpper && offset + offsetShape + this . lowerThreshold >= scrollShape ) {
140
+ } else if ( isLower && offset + offsetShape + this . lowerThreshold >= scrollShape ) {
141
141
this . $emit ( 'tolower' , evt , range )
142
142
} else {
143
143
this . $emit ( 'scroll' , evt , range )
You can’t perform that action at this time.
0 commit comments