React-native-router-flux: How disable swipe on drawer navigation

Created on 28 Nov 2017  路  4Comments  路  Source: aksonov/react-native-router-flux

Version

Latest

Right now in my app if a user swipes to the left from the drawer navigation (when it's open) they are taken back to the login screen, I would like to disable this from happing

Most helpful comment

Add this gesturesEnabled={false} into the Scene

All 4 comments

+1

Add this gesturesEnabled={false} into the Scene

@Mimicx, you mean drawer scene <Drawer gesturesEnabled={false}/>?

@AlmogRnD Try drawerLockMode prop. Check https://facebook.github.io/react-native/docs/drawerlayoutandroid.html#drawerlockmode for more details. Docs were updated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

sarovin picture sarovin  路  3Comments

jgibbons picture jgibbons  路  3Comments

tonypeng picture tonypeng  路  3Comments

wootwoot1234 picture wootwoot1234  路  3Comments