-
-
Notifications
You must be signed in to change notification settings - Fork 588
Closed
Labels
Missing reproThis issue need minimum repro scenarioThis issue need minimum repro scenarioPlatform: AndroidThis issue is specific to AndroidThis issue is specific to Android
Description
Description
Before version 3.30.0
, when the navigationBarColor
was set to transparent on a Stack navigator, the navigation bar would preserve transparency, adopting the color defined on SafeAreaView. However, in version 3.30.0
and onwards, this behavior has changed: the navigation bar no longer maintains transparency but instead defaults to a white color (or black if navigationBarColor
is not explicitly defined).
Steps to reproduce
Setting a stack navigator with navigationBarColor
set as transparent:
const Stack = createNativeStackNavigator();
....
<Stack.Navigator
screenOptions={{
...
navigationBarColor: "transparent",
}}
>
...
</Stack.Navigator>
Snack or a link to a repository
https://github.com/software-mansion/react-native-screens
Screens version
>= 3.30.0
React Native version
0.74.1
Platforms
Android
JavaScript runtime
None
Workflow
Expo managed workflow
Architecture
None
Build type
None
Device
Android emulator
Device model
Pixel_3a_API_34
Acknowledgements
Yes
Metadata
Metadata
Assignees
Labels
Missing reproThis issue need minimum repro scenarioThis issue need minimum repro scenarioPlatform: AndroidThis issue is specific to AndroidThis issue is specific to Android