react-native-macos/React
Samuel Susla 1f4535c175 Fix state.padding being out of sync with safe area view
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
2020-03-16 02:43:29 -07:00
..
AccessibilityResources/en.lproj Add localized accessibility strings to React Core pod (#27995) 2020-02-20 14:31:03 -08:00
Base Clang format for all React Native files 2020-03-08 23:01:17 -07:00
CoreModules Rename get_debug_preprocessor_flags 2020-03-09 18:28:27 -07:00
CxxBridge Daily `arc lint --take CLANGFORMAT` 2020-03-11 21:41:04 -07:00
CxxModule Clang format for all React Native files 2020-03-08 23:01:17 -07:00
CxxUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
DevSupport Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Fabric Fix state.padding being out of sync with safe area view 2020-03-16 02:43:29 -07:00
Inspector Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Modules Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Profiler Clang format for all React Native files 2020-03-08 23:01:17 -07:00
UIUtils Clang format for all React Native files 2020-03-08 23:01:17 -07:00
Views Clang format for all React Native files 2020-03-08 23:01:17 -07:00
React-RCTFabric.podspec Updating the URLs to point at new domain name reactnative.dev 2020-02-24 13:09:11 -08:00
third-party.xcconfig Upgrade Folly to v2020.01.13.00 (#27810) 2020-01-21 12:44:00 -08:00