Skip to content

[Bug]: Opaque statusbars on Android color mismatch, suggestion: react-native-edge-to-edge implementation #2002

@LeunensMichiel

Description

@LeunensMichiel

Version

v5

Reanimated Version

v3

Gesture Handler Version

v2

Platforms

Android

What happened?

On Android, the Statusbars are not updated when using translucent bars. Instead we have to manually handle it by overriding them when the BottomSheet is mounted (eg using expo-status-bars).

It would be cleaner if this library supports translucent edge-to-edge by default. Expo is now working together with @zoontek's library: https://github.com/zoontek/react-native-edge-to-edge

Here's an example on how it is implemented with React-Native-Keyboard-Controller
kirillzyusko/react-native-keyboard-controller@c958062

Reproduction steps

  • Just normal get-started on Android

Reproduction sample

See above

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions