diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.h b/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.h index 13af75da4ac5..c59154f956bd 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.h +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.h @@ -36,7 +36,7 @@ NS_ASSUME_NONNULL_BEGIN /* * Returns an actual UIScrollView that this component uses under the hood. */ -@property (nonatomic, strong, readonly) UIScrollView *scrollView; +@property (nonatomic, strong, readwrite) UIScrollView *scrollView; /** Focus area of newly-activated text input relative to the window to compare against UIKeyboardFrameBegin/End */ @property (nonatomic, assign) CGRect firstResponderFocus; diff --git a/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api index 1a7d1e0d1926..cef8b71db4cb 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleDebugCxx.api @@ -1987,8 +1987,8 @@ interface RCTScrollView : public RCTView >* scrollViewDelegateSplitter; - public @property (strong, readonly) UIScrollView* scrollView; public @property (strong, readonly) UIView* containerView; public @property (weak) UIView* firstResponderViewOutsideScrollView; public virtual static _Nullable RCTScrollViewComponentView* findScrollViewComponentViewForView:(UIView* view); diff --git a/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api b/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api index 6bcf2227ae3d..17d5f15537c9 100644 --- a/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api +++ b/scripts/cxx-api/api-snapshots/ReactAppleReleaseCxx.api @@ -1987,8 +1987,8 @@ interface RCTScrollView : public RCTView >* scrollViewDelegateSplitter; - public @property (strong, readonly) UIScrollView* scrollView; public @property (strong, readonly) UIView* containerView; public @property (weak) UIView* firstResponderViewOutsideScrollView; public virtual static _Nullable RCTScrollViewComponentView* findScrollViewComponentViewForView:(UIView* view);