appandflow / appandflow/react-native-safe-area-context
insets.top switching to 0 during iPad orientation change
Offen
help wanted
Platform: iOS
- Vorherrschende Sprache
- TypeScript
- Sterne
- 2.8k
- Forks
- 258
- Ø Merge
- 3 T. 1 Std.
- Gemergte PRs (30 T.)
- 2
Beschreibung
On iPad, `insets.top` changes during an orientation change from X to 0 and back to X, causing the app to re-render and recalculate layouts back and forth.
This only happens when going from landscape to portrait.
I've opened a related issue on RN-navigation: https://github.com/react-navigation/react-navigation/issues/11915
EDIT:
insets.top changes from landscape to portrait to 0
insets.bottom changes from portrait to landscape to 0
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.