-
-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: don't update on scroll/rect changes unless virtualized range ch…
…anges (#48) * perf: don't update on scroll unless virtualized range changes Also remove the unnecessary `reversedMeasurements` array and `scrollOffsetPlusOuterSize` variable. * fix: remove no longer used useScroll * style: remove semicolons * fix: recalculate range when size prop changes * fix: Re-attach scroll handlers if parentRef changes Co-authored-by: coppa <[email protected]> Co-authored-by: coppa <[email protected]>
- Loading branch information
Showing
3 changed files
with
67 additions
and
116 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
This file was deleted.
Oops, something went wrong.