Closed
Description
Describe the bug
When I wrap my app with
return <KeyboardProvider statusBarTranslucent>{children}</KeyboardProvider>
Android system navigation bar becomes colored, not translucent
Code snippet
return <KeyboardProvider statusBarTranslucent>{children}</KeyboardProvider>
styles.xml
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="android:forceDarkAllowed" tools:ignore="NewApi">false</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
Repo for reproducing
I can do it later if you need it
To Reproduce
- Wrap app with KeyboardProvider
- Use translucent navigation
- Run app
Smartphone (please complete the following information):
- Desktop OS: MacOS
- Device: Android Nexus 5
- OS: API 33
- RN version: 0.71.2
- RN architecture: old, paper
- JS engine: Hermes
- Library version: 1.4.3
Additional context
no applicable