Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: mouse scroll doesn't fetch new items (#962)
The function _scrollIntoView(index) is used instead of scrollToIndex(index) to provide more accurate scroll while restoring the old position in unknown size lazy loading, and ensure the next page after target index is also loaded and rendered. Fixes #957
- Loading branch information
Showing
2 changed files
with
57 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters