Maybe fix drawer gesture
This commit is contained in:
@@ -96,6 +96,9 @@ function ShellInner() {
|
|||||||
<ErrorBoundary
|
<ErrorBoundary
|
||||||
style={{paddingTop: insets.top, paddingBottom: insets.bottom}}>
|
style={{paddingTop: insets.top, paddingBottom: insets.bottom}}>
|
||||||
<Drawer
|
<Drawer
|
||||||
|
configureGestureHandler={handler => {
|
||||||
|
return handler.activeOffsetX([-0, 0])
|
||||||
|
}}
|
||||||
renderDrawerContent={renderDrawerContent}
|
renderDrawerContent={renderDrawerContent}
|
||||||
drawerStyle={{width: Math.min(400, winDim.width * 0.8)}}
|
drawerStyle={{width: Math.min(400, winDim.width * 0.8)}}
|
||||||
open={isDrawerOpen}
|
open={isDrawerOpen}
|
||||||
|
|||||||
Reference in New Issue
Block a user