Maybe fix drawer gesture

This commit is contained in:
Dan Abramov
2024-12-03 03:50:25 +00:00
parent 147efb628a
commit 84b5ccd732
+3
View File
@@ -96,6 +96,9 @@ function ShellInner() {
<ErrorBoundary
style={{paddingTop: insets.top, paddingBottom: insets.bottom}}>
<Drawer
configureGestureHandler={handler => {
return handler.activeOffsetX([-0, 0])
}}
renderDrawerContent={renderDrawerContent}
drawerStyle={{width: Math.min(400, winDim.width * 0.8)}}
open={isDrawerOpen}