diff --git a/packages/react-native/React/Views/ScrollView/RCTScrollView.m b/packages/react-native/React/Views/ScrollView/RCTScrollView.m index 7dd55cf33487b6..81bdc49c3ed8dc 100644 --- a/packages/react-native/React/Views/ScrollView/RCTScrollView.m +++ b/packages/react-native/React/Views/ScrollView/RCTScrollView.m @@ -364,7 +364,7 @@ - (void)_keyboardWillChangeFrame:(NSNotification *)notification options:animationOptionsWithCurve(curve) animations:^{ self->_scrollView.contentInset = newEdgeInsets; - self->_scrollView.scrollIndicatorInsets = newEdgeInsets; + self->_scrollView.verticalScrollIndicatorInsets = newEdgeInsets; [self scrollToOffset:newContentOffset animated:NO]; } completion:nil]; @@ -1034,7 +1034,6 @@ -(type)getter \ RCT_SET_AND_PRESERVE_OFFSET(setShowsHorizontalScrollIndicator, showsHorizontalScrollIndicator, BOOL) RCT_SET_AND_PRESERVE_OFFSET(setShowsVerticalScrollIndicator, showsVerticalScrollIndicator, BOOL) RCT_SET_AND_PRESERVE_OFFSET(setZoomScale, zoomScale, CGFloat); -RCT_SET_AND_PRESERVE_OFFSET(setScrollIndicatorInsets, scrollIndicatorInsets, UIEdgeInsets); - (void)setAutomaticallyAdjustsScrollIndicatorInsets:(BOOL)automaticallyAdjusts API_AVAILABLE(ios(13.0)) {