Skip to content

Using SystemBars seems to be overridden by rn-screens #2948

@huextrat

Description

@huextrat

Description

Using a custom configuration with SystemBars from react-native-edge-to-edge is buggy and seems to be overridden during navigation.

From 4.11.0, PR -> #2464
No issue on 4.10.0

FYI @zoontek

Steps to reproduce

  1. <SystemBars style={{ navigationBar: "dark" }} />
  2. After navigation style of navigationBar and statusBar are fully white (icons)

Snack or a link to a repository

https://github.com/huextrat/react-native-screens-repro

Screens version

4.11.0

React Native version

0.79.2

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: AndroidThis issue is specific to AndroidRepro providedA reproduction with a snack or repo is provided

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions