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

Navigation bar color change when opening sheet on Android #69

Closed
SickanK opened this issue Jul 19, 2024 · 4 comments
Closed

Navigation bar color change when opening sheet on Android #69

SickanK opened this issue Jul 19, 2024 · 4 comments

Comments

@SickanK
Copy link

SickanK commented Jul 19, 2024

Description
When opening a sheet on Android, the navigation bar changes to a gray color. If the sheet has a white background, this can look out of place. A possible solution could be to either keep the navigation bar's original color or add an option to set a custom color. I'm not sure what's technically feasible in this case.

Steps to Reproduce

  1. Set up a project using react-native-true-sheet on Android
  2. Open a sheet

Environment
react-native-true-sheet version: 0.12.3
React Native version: 0.74.3
React Native Gesture Handler version: 2.16.1
Platform: Android

Images
Screenshot_20240719-202106
Screenshot_20240719-202325

@lodev09
Copy link
Owner

lodev09 commented Jul 19, 2024

Unfortunately, the lib doesn't have control over this behavior. This is somehow the default behavior of android's native bottom sheet. :(

@a-eid
Copy link

a-eid commented Feb 6, 2025

@lodev09 isn't there a way to avoid this with the help of @zoontek edge to edge package ?

@zoontek
Copy link
Contributor

zoontek commented Feb 6, 2025

@a-eid
Copy link

a-eid commented Feb 6, 2025

Bottom bar still toggles when the sheet opens in the latest version 1.1.1. not sure if this is related to xiaomi devices thou.
FYI, I only meant the foreground color, edge to edge is working fine.

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

No branches or pull requests

4 participants