From 45e6c639083bb5227164d5a942438be0166c33fd Mon Sep 17 00:00:00 2001 From: Peter Abbondanzo Date: Mon, 26 Jan 2026 09:40:47 -0800 Subject: [PATCH] Add scrollsChildToFocus as a valid prop attribute Summary: An extension of https://github.com/facebook/react-native/pull/55143, adds `scrollsChildToFocus` as a valid attribute to the horizontal scroll view Changelog: [Internal] Differential Revision: D91485193 --- .../ScrollView/AndroidHorizontalScrollViewNativeComponent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js b/packages/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js index 7f2179f5fde9..42b14386d257 100644 --- a/packages/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +++ b/packages/react-native/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js @@ -59,6 +59,7 @@ export const __INTERNAL_VIEW_CONFIG: PartialViewConfig = { process: require('../../StyleSheet/processColor').default, }, pointerEvents: true, + scrollsChildToFocus: true, }, };