From 95bac85b5a8bba67289a503544a00615b3506047 Mon Sep 17 00:00:00 2001 From: Peter Abbondanzo Date: Fri, 16 Jan 2026 09:15:16 -0800 Subject: [PATCH] Always enable nested scrolling for swipe refresh layouts (#55189) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55189 If nested scrolling is not enabled by default for ScrollView that define a `RefreshControl`, the wrapping Android view `ReactSwipeRefreshLayout` will swallow and discard non-touch scroll actions, like joystick movements. This change updates the default to be true, a more-sane default, which aligns with the existing touch actions that are always allowed. This does not impact touch-based behavior at all. Changelog: [Android][Changed] Updated the `nestedScrollEnabled` prop to default to true if the ScrollView defines a `refreshControl` Reviewed By: javache Differential Revision: D90778643 fbshipit-source-id: 37693e80fc7c8b3461dc3d5cad51690e0ff77a77 --- .../react-native/Libraries/Components/ScrollView/ScrollView.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-native/Libraries/Components/ScrollView/ScrollView.js b/packages/react-native/Libraries/Components/ScrollView/ScrollView.js index 53ff2d3d5b0..85e304db34a 100644 --- a/packages/react-native/Libraries/Components/ScrollView/ScrollView.js +++ b/packages/react-native/Libraries/Components/ScrollView/ScrollView.js @@ -1850,6 +1850,8 @@ class ScrollView extends React.Component { {style: StyleSheet.compose(baseStyle, outer)},