diff --git a/packages/nc-gui/components/dashboard/View.vue b/packages/nc-gui/components/dashboard/View.vue index cafb2c3af2..d2fc9316ca 100644 --- a/packages/nc-gui/components/dashboard/View.vue +++ b/packages/nc-gui/components/dashboard/View.vue @@ -111,6 +111,14 @@ watch(isMobileMode, () => { isLeftSidebarOpen.value = !isMobileMode.value }) +watch(sidebarState, () => { + if (sidebarState.value === 'peekCloseEnd') { + setTimeout(() => { + sidebarState.value = 'hiddenEnd' + }, animationDuration) + } +}) + onMounted(() => { handleSidebarOpenOnMobileForNonViews() }) @@ -132,7 +140,7 @@ onMounted(() => { >