From 42a7ecdbed5f2692cdfccce437e93fc9ef286c3f Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Wed, 10 Jun 2026 12:35:13 +0800 Subject: [PATCH] fix(grid): prevent scrollbar flicker during sidebar resize --- apps/desktop/src/components/grid/DataGrid.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/components/grid/DataGrid.vue b/apps/desktop/src/components/grid/DataGrid.vue index 360416518..f151bbbf1 100644 --- a/apps/desktop/src/components/grid/DataGrid.vue +++ b/apps/desktop/src/components/grid/DataGrid.vue @@ -7450,13 +7450,14 @@ const gridContextMenuItems = computed(() => { .data-grid-topbar-scroll { scrollbar-width: thin; + scrollbar-gutter: stable; } .data-grid-scroller { overflow-anchor: none; scrollbar-gutter: stable; will-change: scroll-position; - contain: strict; + contain: layout style paint; } .data-grid-scroller :deep(.vue-recycle-scroller__item-wrapper) { @@ -7487,6 +7488,7 @@ const gridContextMenuItems = computed(() => { .transpose-grid-scroller { overflow-anchor: none; + scrollbar-gutter: stable; will-change: scroll-position; }