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

Rotating iPad while StatusBar is hidden disables top inset

Aperta
#666 3 commenti 2 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
2.8k
Fork
258
Merge medio
3g 1h
PR unite (30g)
2

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.