-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the initial empty render of the scrollview if a layoutSize is …
…passed (#450) * Adding a layout size prop to take initial size of RLV and use this render to remove initial shift by making opacity 0 * Removing visibility related changes * Moving componentDidMount logic into constructor * Renaming layoutSize to scrollViewSize prop * Fixing initial offset * Handling the case when initial offset is provided and preventing force render when the onLayout is called for the first time * Version bump * Version bump to beta before publishing * Moved willMountCompat logic to constructor and removed acceptableLayoutDelta check from gridlayoutmanager * Undo acceptable relayout delta changes * Renaming getContextFromProvider method * version bump * fix: removed extra changes * Renaming prop to scrollViewSize and using cachedLayouts in forceRender scenario * Renaming prop to layoutSize and moving forceFullRender to separate block Co-authored-by: Talha Naqvi <naqvitalha@gmail.com>
- Loading branch information
1 parent
b7c23d2
commit e12e568
Showing
3 changed files
with
111 additions
and
60 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 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