diff --git a/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm b/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm index 48cdc2de8da46a..95f38d95fac3d4 100644 --- a/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm +++ b/packages/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm @@ -903,8 +903,6 @@ - (void)scrollToOffset:(CGPoint)offset animated:(BOOL)animated // When not animated, the expected workflow in ``scrollViewDidEndScrollingAnimation`` after scrolling is not going // to get triggered. We will need to manually execute here. [self _handleFinishedScrolling:_scrollView]; - } else if (_eventEmitter) { - static_cast(*_eventEmitter).onMomentumScrollBegin([self _scrollViewMetrics]); } } diff --git a/packages/react-native/React/Views/ScrollView/RCTScrollView.m b/packages/react-native/React/Views/ScrollView/RCTScrollView.m index 3fc9a47f3edd9a..e83b91de6756fa 100644 --- a/packages/react-native/React/Views/ScrollView/RCTScrollView.m +++ b/packages/react-native/React/Views/ScrollView/RCTScrollView.m @@ -600,9 +600,6 @@ - (void)scrollToOffset:(CGPoint)offset animated:(BOOL)animated offset = CGPointMake(x, y); } [_scrollView setContentOffset:offset animated:animated]; - if (animated) { - [self sendScrollEventWithName:@"onMomentumScrollBegin" scrollView:_scrollView userData:nil]; - } } } @@ -625,9 +622,6 @@ - (void)scrollToEnd:(BOOL)animated // Ensure at least one scroll event will fire _allowNextScrollNoMatterWhat = YES; [_scrollView setContentOffset:offset animated:animated]; - if (animated) { - [self sendScrollEventWithName:@"onMomentumScrollBegin" scrollView:_scrollView userData:nil]; - } } } diff --git a/packages/rn-tester/js/examples/ScrollView/ScrollViewExample.js b/packages/rn-tester/js/examples/ScrollView/ScrollViewExample.js index 074cd7130e3af4..ae0b34365c5675 100644 --- a/packages/rn-tester/js/examples/ScrollView/ScrollViewExample.js +++ b/packages/rn-tester/js/examples/ScrollView/ScrollViewExample.js @@ -15,7 +15,7 @@ import RNTesterText from '../../components/RNTesterText'; import ScrollViewPressableStickyHeaderExample from './ScrollViewPressableStickyHeaderExample'; import nullthrows from 'nullthrows'; import * as React from 'react'; -import {useCallback, useRef, useState} from 'react'; +import {useCallback, useState} from 'react'; import { Platform, RefreshControl, @@ -855,21 +855,11 @@ const OnScrollOptions = () => { }; const OnMomentumScroll = () => { - const ref = useRef>(null); const [scroll, setScroll] = useState('none'); return ( Scroll State: {scroll} -