react-native-macos/React/Fabric
Dmitry Rykun 28a65f4387 ScrollView fails when contentInsetAdjustmentBehavior is automatic
Summary:
Fix to https://github.com/reactwg/react-native-new-architecture/discussions/30
We have already applied this solution to both [pre-Fabric](https://www.internalfb.com/code/fbsource/[1da0f2e3164d6f87e8221e0f0462ae93fdc5cbdc]/xplat/js/react-native-github/React/Views/ScrollView/RCTScrollView.m?lines=361) and [Fabric](https://www.internalfb.com/code/fbsource/[1da0f2e3164d6f87e8221e0f0462ae93fdc5cbdc]/xplat/js/react-native-github/React/Fabric/Mounting/ComponentViews/ScrollView/RCTEnhancedScrollView.mm?lines=36) scroll views. However Fabric can reuse components, and this has to be reapplied at every reuse.
Changelog [iOS][Fixed] - ScrollView's contentInsetAdjustmentBehavior is reset to Never at every reuse to avoid layout artifacts.

Reviewed By: cipolleschi

Differential Revision: D35965080

fbshipit-source-id: 3ac26cf304b608d09ae6c0f05588b664381551f2
2022-04-27 06:50:03 -07:00
..
Mounting ScrollView fails when contentInsetAdjustmentBehavior is automatic 2022-04-27 06:50:03 -07:00
Surface Use std::optional instead of butter::optional 2022-03-04 07:25:59 -08:00
Utils Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTConversions.h Convert CGFLOAT_MAX to infinity 2022-03-09 03:36:11 -08:00
RCTImageResponseDelegate.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTImageResponseObserverProxy.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTImageResponseObserverProxy.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTLocalizationProvider.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTLocalizationProvider.mm Fall back to non-localized string if no translation is available 2022-04-19 04:10:31 -07:00
RCTPrimitives.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTScheduler.h Expose UIManager from Scheduler (#33545) 2022-04-26 05:11:05 -07:00
RCTScheduler.mm Expose UIManager from Scheduler (#33545) 2022-04-26 05:11:05 -07:00
RCTSurfacePresenter.h Expose scheduler through RCTSurfacePresenter 2022-04-26 05:11:05 -07:00
RCTSurfacePresenter.mm Expose scheduler through RCTSurfacePresenter 2022-04-26 05:11:05 -07:00
RCTSurfacePresenterBridgeAdapter.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTSurfacePresenterBridgeAdapter.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTSurfaceRegistry.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTSurfaceRegistry.mm Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTSurfaceTouchHandler.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
RCTSurfaceTouchHandler.mm Add basic onPointerEnter/Leave event emitting to iOS 2022-04-11 15:49:30 -07:00
RCTTouchableComponentViewProtocol.h Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00