-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 (VirtualizedList) fix VirtualizedList with initialScrollIndex not r…
…endering all items when da… Use this._hasDoneInitialScroll instead of this._scrollMetrics.offset to determine if the initial scroll is done. The offset can sometimes be 0 even after the scrollToIndex method is called to scroll to the initialScrollIndex: for example when the content does not fill the list.
- Loading branch information
Antoine Doubovetzky
committed
Apr 20, 2022
1 parent
2265f04
commit 2335afb
Showing
2 changed files
with
117 additions
and
19 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