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 摘要。