Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ScrollView fails when contentInsetAdjustmentBehavior is automatic
Summary: Fix to reactwg/react-native-new-architecture#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
- Loading branch information