mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
1f4535c175
Summary: Changelog: [Internal] # Problem SafeAreaView is getting reused, its previous `safeAreaInsets` is top: 44, bottom: 34 so `safeAreaInsetsDidChange` doesn't get called because it doesn't change. Therefore state gets never updates because `safeAreaInsetsDidChange` is never called. # Solution Update state whenever a new state is assigned. Reviewed By: shergin Differential Revision: D20444198 fbshipit-source-id: 75d1458450c70d74647df4962ddad88d5f6a38d2