From 5c5ed11b54b397265fa3940274b5e86e3288e935 Mon Sep 17 00:00:00 2001 From: hiimyusheng Date: Wed, 10 Jun 2026 17:11:10 +0800 Subject: [PATCH] fix(ui): keep scroll indicator anchored to visible list bottom (#295) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The scroll-hint chevron was a child of the scrollable list-body container, so position:absolute anchored to the content bottom rather than the viewport bottom — causing it to shift on scroll. Fix: wrap list-body in a non-scrolling position:relative sibling div and move the scroll-hint outside the scroll container. Co-Authored-By: Claude Sonnet 4.6 --- src/pages/AccountList.vue | 275 ++++++++++++++++++++------------------ 1 file changed, 146 insertions(+), 129 deletions(-) diff --git a/src/pages/AccountList.vue b/src/pages/AccountList.vue index 03342cd..4d977e5 100644 --- a/src/pages/AccountList.vue +++ b/src/pages/AccountList.vue @@ -2294,145 +2294,154 @@ onBeforeUnmount(() => { -
{ white-space: nowrap; } +/* + * #295: Wrapper provides the positioning context for the scroll-hint + * overlay so it stays anchored to the visible bottom edge of the list + * rather than the scroll content's bottom. + */ +.account-list__list-scroll-wrapper { + position: relative; +} + .account-list__list-body { overflow-y: auto; padding: 0.5rem; @@ -2990,7 +3008,6 @@ onBeforeUnmount(() => { */ --max-visible-rows: 5; max-height: calc(var(--max-visible-rows) * 36px + (var(--max-visible-rows) - 1) * 0.25rem + 1rem); - position: relative; } /*