Skip to content

Commit 7bbf549

Browse files
GijsWeteringsfacebook-github-bot
authored andcommitted
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
1 parent 2280187 commit 7bbf549

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Libraries/Components/ScrollView/AndroidHorizontalScrollViewNativeComponent.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const AndroidHorizontalScrollViewNativeComponent: HostComponent<Props> = NativeC
3131
scrollPerfTag: true,
3232
sendMomentumEvents: true,
3333
showsHorizontalScrollIndicator: true,
34+
snapToAlignment: true,
3435
snapToEnd: true,
3536
snapToInterval: true,
3637
snapToStart: true,

0 commit comments

Comments
 (0)