-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
NavigationBar has a background color when using the Modal component on Android #25
Comments
Not as I know, but I highly recommend using |
@baghel-rohan This is actually impossible to do from this library as react-native uses a That's also why these kind of issues occurs and why it have a Until there's a solution in React Native for that, I highly recommend using react navigation modals. |
Hi @zoontek, Thank you for the response, and I really like your work!! There is another approach to the library which can be implemented, if user wants to, i.e. not using it in edge to edge mode. I would like to propose a feature which can allow a background color that will be used in navigation bar and status bar if the user is not using library to implement edge to edge. I have cloned and implemented this on my end, and would like you to see if you would want to intergrate it with the library. Below is the video after implementing this approach. |
Unfortunately that's not what I want to achieve with this library. Android is currently the only platform that bother devs with opaque bars, even if they push against, see the SplashScreen API that is edge-to-edge on system thread or the improved keyboard management that only works when the UI is edge-to-edge, but uh…legacy. We continue to support versions as old as Android 5 when Android 14 is available. Opaque bars must die, and we need to move collectively to reach this goal 😄 |
This quirk is now explained in the README |
Why it is needed?
Modal component has a property
statusBarTranslucent
which works, but there is no option to control the Navigation bar.. there is any way to make also Navigation bar translucent?Possible implementation
No response
Code sample
No response
The text was updated successfully, but these errors were encountered: