f75d47c915
Summary: On safeArea supported devices like `iPhoneX`, we need to forbid invalidate `safeAreaInsets` when set `emulateUnlessSupported` prop, otherwise `SafeAreaView` would broken. cc. cpojer shergin . Before: ![before](https://user-images.githubusercontent.com/5061845/56792861-33088180-683d-11e9-8183-a1c8a5c9cb37.gif) After: ![after](https://user-images.githubusercontent.com/5061845/56792867-38fe6280-683d-11e9-9b4d-01848b42a9b0.gif) [iOS] [Fixed] - Fixes SafeAreaView when set emulateUnlessSupported on safeArea supported devices Pull Request resolved: https://github.com/facebook/react-native/pull/24615 Differential Revision: D15122211 Pulled By: cpojer fbshipit-source-id: 8a1c3f2aedbde707d8d6c8f36c97e6424585dc59 |
||
---|---|---|
.. | ||
RCTSafeAreaShadowView.h | ||
RCTSafeAreaShadowView.m | ||
RCTSafeAreaView.h | ||
RCTSafeAreaView.m | ||
RCTSafeAreaViewLocalData.h | ||
RCTSafeAreaViewLocalData.m | ||
RCTSafeAreaViewManager.h | ||
RCTSafeAreaViewManager.m |