-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add autoHideHomeIndicator option for stack (#11415)
An autoHideHomeIndicator prop exists in native-stack (added in 00b2c24), and this updates @react-navigation/stack to add an identical prop. **Motivation** We have an app using @react-navigation/stack that needs to hide the home indicator in some cases and switching to native-stack breaks existing functionality for us. **Test plan** Set `autoHideHomeIndicator` to `true` and use iPhone 14 Simulator (or similar) to observe that the home indicator bar automatically hides after a few seconds when there is no activity on the screen. Co-authored-by: Satyajit Sahoo <satyajit.happy@gmail.com>
- Loading branch information
Showing
3 changed files
with
9 additions
and
0 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