A framework for building native applications using React
Defer to responder system to terminate on scroll (#54007)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54007 ## Changelog: [Android] [Changed] - Defer to responder system to terminate on scroll when FeatureFlag responderTerminateOnScrollAndroid is turned on on ios, we don't dispatch TouchCancel at scroll to terminate scrollview's children, instead, responder system handles responder termination when it receives onScroll event Currently, TouchCancel native event at scroll will stop any ongoing touch events dispatched from native, and will unexpectedly terminate responder even if responder has transferred from child of scrollView to parent view, because of race condition. Fixing this will require revisiting a large part of the native touch system on android. Reviewed By: sammy-SC Differential Revision: D83584281 fbshipit-source-id: 10b3c98c30037b50f1705e11aa9ca016a6c3d974
Z
Zeya Peng committed
1e1af623b14f7952c2f39a601098533f899bb464
Parent: 5abda9c
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 10/9/2025, 8:58:04 PM