Right menu swipe (#240)
This commit is contained in:
parent
e0631c2663
commit
ec9c33157a
2 changed files with 7 additions and 1 deletions
|
|
@ -266,7 +266,7 @@ const state = {
|
|||
leftDrawerOpen: false,
|
||||
leftDrawerRoute: Routes.ChannelDrawer,
|
||||
rightDrawerOpen: false,
|
||||
rightDrawerRoute: null
|
||||
rightDrawerRoute: Routes.RightMenuDrawer
|
||||
},
|
||||
views: {
|
||||
channel: {
|
||||
|
|
|
|||
|
|
@ -211,6 +211,12 @@ class Router extends React.Component {
|
|||
tapToClose={true}
|
||||
openDrawerOffset={0.2}
|
||||
onRequestClose={this.props.actions.closeDrawers}
|
||||
panOpenMask={0.1}
|
||||
panCloseMask={0.2}
|
||||
panThreshold={0.2}
|
||||
acceptPan={navigationProps.allowSwipe}
|
||||
negotiatePan={true}
|
||||
useInteractionManager={true}
|
||||
>
|
||||
<NavigationExperimental.Transitioner
|
||||
style={{flex: 1}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue