Add isNavigationBarTranslucentAndroid
to prevent nav bar from changing color
#2549
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Similar to #2522 but at bottom, when you enable edge-to-edge mode (manual or react-native-edge-to-edge).
Swipe gestures, isNavigationBarTranslucentAndroid: false
Screen_Recording_20241022_142648_preventDefault.mp4
Swipe gestures, isNavigationBarTranslucentAndroid: true
Screen_Recording_20241022_142717_preventDefault.mp4
Buttons, isNavigationBarTranslucentAndroid: false
Screen_Recording_20241022_143213_preventDefault.mp4
Buttons, isNavigationBarTranslucentAndroid: true
Screen_Recording_20241022_143242_preventDefault.mp4
isNavigationBarTranslucentAndroid
was added in v3.16.0, but I skipped it to v3.16.1 because of software-mansion/react-native-reanimated#6607Demo: https://github.com/pnthach95/preventDefault
I updated comments to double asterisk so it can show comment in vscode like this