appandflow / appandflow/react-native-safe-area-context

Rotating iPad while StatusBar is hidden disables top inset

Open
#666 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.8k
Forks
258
Avg merge
3d 1h
Merged PRs (30d)
2

Description

### Description

If an iPad rotates while StatusBar is hidden, and then StatusBar is shown, the insets do not get updated. The StatusBar ends up overlapping with the content on top.

https://github.com/user-attachments/assets/4802ae30-43be-4f79-b014-dfd294bebd94

### Steps to reproduce

1. Use `` or `useSafeAreaInsets`
2. hide StatusBar
3. rotate iPad
4. show StatusBar

### Snack or a link to a repository

https://snack.expo.dev/@dlee/eager-indigo-banana

### Safe Area Context version

5.6.0

### React Native version

Expo v54.0.0

### Platforms

iOS

### Architecture

Fabric (New Architecture)

### Build type

Debug mode

### Device

iOS simulator

### Device model

iPad mini

### Acknowledgements

Yes

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.