diff --git a/packages/nc-gui/components/smartsheet/sidebar/mobile.vue b/packages/nc-gui/components/smartsheet/sidebar/mobile.vue
index 59511cc0ed..7a68de666f 100644
--- a/packages/nc-gui/components/smartsheet/sidebar/mobile.vue
+++ b/packages/nc-gui/components/smartsheet/sidebar/mobile.vue
@@ -17,6 +17,8 @@ import {
watch,
} from '#imports'
+const emits = defineEmits(['closeMobileViewsSidebar'])
+
const meta = inject(MetaInj, ref())
const activeView = inject(ActiveViewInj, ref())
@@ -158,7 +160,19 @@ function onOpenModal({
/> -->
+
+
+
+
+
diff --git a/packages/nc-gui/pages/[projectType]/[projectId]/index.vue b/packages/nc-gui/pages/[projectType]/[projectId]/index.vue
index fe70bcd7c0..c6315348fc 100644
--- a/packages/nc-gui/pages/[projectType]/[projectId]/index.vue
+++ b/packages/nc-gui/pages/[projectType]/[projectId]/index.vue
@@ -208,6 +208,12 @@ const onClickedTableLink = () => {
}
}
+const onCloseMobileViewsSidebar = () => {
+ if (isMobileMode) {
+ showViewsMobileSidebar.value = false
+ }
+}
+
onBeforeUnmount(reset)
function openKeyboardShortcutDialog() {
@@ -605,7 +611,11 @@ useEventListener(document, 'keydown', async (e: KeyboardEvent) => {
-
+