Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isNavigationBarTranslucentAndroid to prevent nav bar from changing color #2549

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pnthach95
Copy link
Contributor

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#6607

Demo: https://github.com/pnthach95/preventDefault

I updated comments to double asterisk so it can show comment in vscode like this

Screenshot 2024-10-22 at 3 02 39 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant