-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(infinitescroll): always check on scroll change
Previously infinite scroll would only do checks when it got to scrollTop it’s never seen before. However, this then requires a reset() function if the underlying data changes, which would become an API gotcha that would be a common source of problems for developers. Always checking on scroll change should have little performance impact since it was always checking while scrolling down anyway, it just wasn’t checking when scrolling up. Now it always checks.
- Loading branch information
1 parent
f1348ad
commit fe04c51
Showing
2 changed files
with
3 additions
and
25 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