Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: drawer closing on navigation

ammarahm-ed585c35624b63
diff --git a/apps/mobile/src/components/tabs/index.tsx b/apps/mobile/src/components/tabs/index.tsx
index 3b9fbf2c0..f25af060e 100644
--- a/apps/mobile/src/components/tabs/index.tsx
+++ b/apps/mobile/src/components/tabs/index.tsx
@@ -142,6 +142,7 @@ export const FluidTabs = forwardRef<TabsRef, TabProps>(
closeDrawer: () => {
if (deviceMode === 'tablet') {
translateX.value = withTiming(0);
+ return;
}
translateX.value = withTiming(homePosition);
onDrawerStateChange(false);