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

Rotating iPad while StatusBar is hidden disables top inset

未關閉
#666 3 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
2.8k
分支
258
平均合併
3 天 1 小時
30 天內合併 PR
2

描述

### 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。