forked from wix/react-native-navigation
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rare race condition when applying bottomTabs.drawBehind (wix#5326)
When setting BottomTabs root, if one of the children was a stack with multiple children and the top child in the stack had `drawBehind: true` while the bottom child had `drawBehind: false`, sometimes the tabs' bottomMargin would be wrong since it was applied in onPreDraw.
- Loading branch information
Showing
3 changed files
with
10 additions
and
20 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