react-native-macos/React
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
..
AccessibilityResources/en.lproj VoiceOver reads Tab elements as "Tab Description" (#30689) 2021-01-15 11:09:01 -08:00
AppSetup Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Base Attach js_extra_data to JS errors on iOS 2022-04-25 03:26:24 -07:00
CoreModules Ensure LogBox uses UIWindowScene API for opening its view 2022-04-25 10:39:26 -07:00
CxxBridge Add MC to test disabling React Native invalidation under memory pressure 2022-04-20 10:59:57 -07:00
CxxLogUtils Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
CxxModule Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
CxxUtils Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
DevSupport Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
FBReactNativeSpec bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
Fabric ScrollView fails when contentInsetAdjustmentBehavior is automatic 2022-04-27 06:50:03 -07:00
Inspector Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Modules (Easy) Add RCTNotAllowedInAppWideFabric validation to the only static method in RCTUIManager, JSResponder 2022-04-18 18:57:40 -07:00
Profiler Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Tests Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
UIUtils Update copyright headers from Facebook to Meta 2021-12-30 15:11:21 -08:00
Views Adopt UIGraphicsImageRenderer API 2022-04-22 17:02:51 -07:00
React-RCTFabric.podspec bump iOS and tvOS from 11.0 to 12.4 in cocoapods 2022-03-16 21:08:01 -07:00
third-party.xcconfig Bump boost for Android to 1.76 to align with iOS + fix (#33565) 2022-04-07 04:50:30 -07:00