Prevent drawer from swiping to teams when jump to channel is focused (#1902)

This commit is contained in:
Elias Nahum 2018-07-09 18:32:48 -04:00 committed by GitHub
parent 6458ed871b
commit 360c8cd2e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,9 +144,9 @@ export default class Swiper extends PureComponent {
contentContainerStyle={[styles.wrapperIOS, this.props.style]}
onScrollBeginDrag={this.onScrollBegin}
onMomentumScrollEnd={this.onScrollEnd}
pagingEnabled={true}
pagingEnabled={scrollEnabled}
keyboardShouldPersistTaps={keyboardShouldPersistTaps}
scrollEnabled={true}
scrollEnabled={scrollEnabled}
>
{pages}
</ScrollView>