react-native-screens icon indicating copy to clipboard operation
react-native-screens copied to clipboard

[4.10.0] formSheet does not respect safe area

Open plneple opened this issue 8 months ago • 1 comments

Description

The full-screen formSheet modal ignores window insets and opens beneath the Status Bar. I haven't found a way to address this from userland.

https://github.com/user-attachments/assets/918e9d97-3825-4284-8f58-6df0fb9cdac7

Steps to reproduce

  1. Open formSheet

Snack or a link to a repository

https://github.com/plneple/react-native-screens/tree/repro/formSheet-safeArea

Screens version

4.10.0

React Native version

0.78.0

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

plneple avatar Apr 30 '25 12:04 plneple

Confirming there does appear to be some sort of Android status bar safe area issue introduced in 4.10, downgrading is fine. In our case our custom headers set via react navigation render under the status bar until navigating to another screen and back. (Old arch react native 0.77.2)

LeviWilliams avatar May 13 '25 17:05 LeviWilliams