We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d2a955 commit 55275baCopy full SHA for 55275ba
1 file changed
src/carousel/Carousel.js
@@ -474,6 +474,7 @@ export default class Carousel extends Component {
474
return;
475
}
476
477
+ value = value && scrollEnabled
478
// 'setNativeProps()' is used instead of 'setState()' because the latter
479
// really takes a toll on Android behavior when momentum is disabled
480
wrappedRef.setNativeProps({ scrollEnabled: value });
0 commit comments