Fixed #1610 - VirtualScroller.scrollToIndex programming error
parent
bcc4bd52f5
commit
b988a82eed
|
@ -391,7 +391,7 @@ export default {
|
|||
isHorizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPadding.left), 0) : scrollTo(0, calculateCoord(newFirst, itemSize, contentPadding.top));
|
||||
}
|
||||
|
||||
this.first = newFirst.index;
|
||||
this.first = newFirst;
|
||||
}
|
||||
},
|
||||
scrollInView(index, to, behavior = 'auto') {
|
||||
|
|
Loading…
Reference in New Issue