fix(grid): prevent scrollbar flicker during sidebar resize

This commit is contained in:
t8y2 2026-06-10 12:35:13 +08:00
parent 973e9f487a
commit 42a7ecdbed
1 changed files with 3 additions and 1 deletions

View File

@ -7450,13 +7450,14 @@ const gridContextMenuItems = computed<ContextMenuItem[]>(() => {
.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<ContextMenuItem[]>(() => {
.transpose-grid-scroller {
overflow-anchor: none;
scrollbar-gutter: stable;
will-change: scroll-position;
}