Browse Source

fix(nc-gui): Fixed sidebar hidden issue

pull/6636/head
Muhammed Mustafa 1 year ago
parent
commit
ae9c49b7b2
  1. 8
      packages/nc-gui/components/dashboard/View.vue

8
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()
})

Loading…
Cancel
Save