react-native-screens
react-native-screens copied to clipboard
[4.10.0] formSheet does not respect safe area
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
- 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
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)