mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-13 09:20:50 +08:00
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:  After:  [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