From 62332bb8042f58784fca311a2a5c696281895aa7 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 12 Nov 2024 08:02:27 +0000 Subject: [PATCH] fix: hide sidebar issue --- packages/nc-gui/components/smartsheet/Gallery.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nc-gui/components/smartsheet/Gallery.vue b/packages/nc-gui/components/smartsheet/Gallery.vue index 4fb76ea729..48fef40197 100644 --- a/packages/nc-gui/components/smartsheet/Gallery.vue +++ b/packages/nc-gui/components/smartsheet/Gallery.vue @@ -337,7 +337,7 @@ const placeholderAboveHeight = computed(() => { const { width, height } = useWindowSize() watch( - [() => width.value, () => height.value, () => columnsPerRow.value], + [() => width.value, () => height.value, () => columnsPerRow.value, () => scrollContainerWidth.value], () => { calculateSlices() },