From cbe86993221c10f57eb8f2852b1378f750265f05 Mon Sep 17 00:00:00 2001 From: zyycn Date: Sun, 26 Jul 2026 03:23:41 +0800 Subject: [PATCH] perf(ui): optimize table scrollbar updates Coalesce native scroll events per animation frame, cache scrollbar geometry, and synchronize sticky headers only when horizontal position changes. Co-authored-by: Codex --- .../src/components/base/BaseScrollbar.vue | 192 ++++++++++++------ .../BaseTable/useHorizontalStickyShadow.ts | 43 +++- 2 files changed, 162 insertions(+), 73 deletions(-) diff --git a/frontend/src/components/base/BaseScrollbar.vue b/frontend/src/components/base/BaseScrollbar.vue index e75f2e11b..5a2f8eb17 100644 --- a/frontend/src/components/base/BaseScrollbar.vue +++ b/frontend/src/components/base/BaseScrollbar.vue @@ -1,7 +1,7 @@