react-native-macos/React/Views
zhongwuzw f75d47c915 Fixes SafeAreaView when set emulateUnlessSupported on safeArea supported devices (#24615)
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
2019-04-29 10:02:58 -07:00
..
SafeAreaView Fixes SafeAreaView when set emulateUnlessSupported on safeArea supported devices (#24615) 2019-04-29 10:02:58 -07:00
ScrollView don't throttle below 16ms 2019-04-24 17:04:58 -07:00
RCTActivityIndicatorView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTActivityIndicatorView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTActivityIndicatorViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTActivityIndicatorViewManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTAnimationType.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTAutoInsetsProtocol.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBorderDrawing.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTBorderDrawing.m Fix triangle views on iOS (#23402) 2019-02-12 16:54:20 -08:00
RCTBorderStyle.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTComponent.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTComponentData.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTComponentData.m BREAKING - RCTEvent improvements, remove deprecated [sendInputEventWithName:body:] (#15894) 2019-03-27 11:20:22 -07:00
RCTConvert+CoreLocation.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTConvert+CoreLocation.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTConvert+Transform.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTConvert+Transform.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTDatePicker.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTDatePicker.m Fixed minuteInterval invalid in time mode (#23923) 2019-03-15 11:34:20 -07:00
RCTDatePickerManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTDatePickerManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTFont.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTFont.mm Remove compatible system code for iOS8 and before (#23656) 2019-02-26 07:58:52 -08:00
RCTLayout.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTLayout.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTMaskedView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTMaskedView.m Fix xcode warnings (#23565) 2019-02-20 18:46:23 -08:00
RCTMaskedViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTMaskedViewManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalHostView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalHostView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalHostViewController.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalHostViewController.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalHostViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalHostViewManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTModalManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTPicker.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTPicker.m Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00
RCTPickerManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTPickerManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTPointerEvents.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTProgressViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTProgressViewManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTRefreshControl.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTRefreshControl.m Fix setting the contentOffset value when refresh ends (#24191) 2019-04-01 12:54:36 -07:00
RCTRefreshControlManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTRefreshControlManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTRootShadowView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTRootShadowView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSegmentedControl.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSegmentedControl.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSegmentedControlManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSegmentedControlManager.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTShadowView+Internal.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTShadowView+Internal.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTShadowView+Layout.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTShadowView+Layout.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTShadowView.h Apply latest shadow view workflow description (#23485) 2019-02-17 15:08:16 -08:00
RCTShadowView.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSlider.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSlider.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSliderManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSliderManager.m Apply thumbTintColor to Sliders on iOS (#22177) 2019-01-16 15:13:43 -08:00
RCTSwitch.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSwitch.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSwitchManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTSwitchManager.m Unify native props 2019-01-07 15:39:21 -08:00
RCTTVView.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTVView.m Removed method call to RCTRootView::setReactPreferredFocusedView as ... (#21596) 2019-01-22 07:33:44 -08:00
RCTTextDecorationLineType.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTView.h Additional Accessibility Roles and States (#24095) 2019-04-25 06:13:07 -07:00
RCTView.m Additional Accessibility Roles and States (#24095) 2019-04-25 06:13:07 -07:00
RCTViewManager.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTViewManager.m Additional Accessibility Roles and States (#24095) 2019-04-25 06:13:07 -07:00
RCTWrapperViewController.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTWrapperViewController.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
UIView+Private.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
UIView+React.h Add react_recursiveDescription to UIView and debugging to RCTScrollView 2019-04-23 14:58:19 -07:00
UIView+React.m Add react_recursiveDescription to UIView and debugging to RCTScrollView 2019-04-23 14:58:19 -07:00