Skip to content

statusBarColor vs statusBarBackgroundColor in 7.x? #1383

Closed
@yberstad

Description

@yberstad

Current behavior

Ugrading from 6.x to 7.x, I had to use statusBarBackgroundColor instead of statusBarColor

Image

Expected behavior

But according to the doc, I cannot see that this should have changed?
https://reactnavigation.org/docs/native-stack-navigator/#statusbarcolor

And not mentioned in the upgrade doc:
https://reactnavigation.org/docs/upgrading-from-6.x

Reproduction

Github repo to reproduce -> https://github.com/yberstad/TestReactNavigation

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • [] I've removed the packages that I don't use
package version
@react-navigation/native 7.0.0
@react-navigation/native-stack 7.0.0
react-native-safe-area-context 4.14.0
react-native-screens 4.0.0
react-native-gesture-handler 2.20.2
react-native-reanimated 3.16.1
react-native 0.76.1
node 20.9.0
npm or yarn yarn

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions