fix(grid): prevent scrollbar flicker during sidebar resize

This commit is contained in:
t8y2 committed 2026-06-10 12:35:13 +08:00
1 parent 973e9f487a
commit 42a7ecdbed
1 file changed
+3 -1
@@ -7450,13 +7450,14 @@ const gridContextMenuItems = computed<ContextMenuItem[]>(() => {
.data-grid-topbar-scroll { .data-grid-topbar-scroll {
scrollbar-width: thin; scrollbar-width: thin;
scrollbar-gutter: stable;
} }
.data-grid-scroller { .data-grid-scroller {
overflow-anchor: none; overflow-anchor: none;
scrollbar-gutter: stable; scrollbar-gutter: stable;
will-change: scroll-position; will-change: scroll-position;
contain: strict; contain: layout style paint;
} }
.data-grid-scroller :deep(.vue-recycle-scroller__item-wrapper) { .data-grid-scroller :deep(.vue-recycle-scroller__item-wrapper) {
@@ -7487,6 +7488,7 @@ const gridContextMenuItems = computed<ContextMenuItem[]>(() => {
.transpose-grid-scroller { .transpose-grid-scroller {
overflow-anchor: none; overflow-anchor: none;
scrollbar-gutter: stable;
will-change: scroll-position; will-change: scroll-position;
} }