From 7bbf549ae5954009146b611e364bb22cc15b8c2a Mon Sep 17 00:00:00 2001 From: Gijs Weterings Date: Thu, 7 Oct 2021 11:20:24 -0700 Subject: [PATCH] fix viewconfig for AndroidHorizontalScrollViewNativeComponent Summary: Changelog: [Android][Fix] Fix viewconfig for AndroidHorizontalScrollViewNativeComponent by adding snapToAlignment Reviewed By: mdvacca Differential Revision: D31476885 fbshipit-source-id: 89a4e16bd3d2cac0cc3c70c8a948deadababd488 --- .../ScrollView/AndroidHorizontalScrollViewNativeComponent.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js b/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js index 05f629e01a1d1e..9ba0b235f2e38c 100644 --- a/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js +++ b/Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js @@ -31,6 +31,7 @@ const AndroidHorizontalScrollViewNativeComponent: HostComponent = NativeC scrollPerfTag: true, sendMomentumEvents: true, showsHorizontalScrollIndicator: true, + snapToAlignment: true, snapToEnd: true, snapToInterval: true, snapToStart: true,