Skip to content

Commit 5b65e8b

Browse files
committed
fix for Carousel snap on Android
1 parent 245c992 commit 5b65e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/carousel/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default class Carousel extends BaseComponent {
193193
const paddingLeft = this.shouldUsePageWidth() ? this.props.itemSpacings : undefined;
194194

195195
return (
196-
<View style={{width: this.state.pageWidth, paddingLeft}} key={key}>
196+
<View style={{width: this.state.pageWidth, paddingLeft}} key={key} collapsable={false}>
197197
{child}
198198
</View>
199199
);

0 commit comments

Comments
 (0)