From fbf9f54b6a1102c50b48b3437c93ffbe57f6ccf1 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 22 Sep 2026 23:06:36 +0800 Subject: [PATCH] fix(chat): prevent overscroll bounce from moving composer --- frontend/src/views/chat/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/chat/index.vue b/frontend/src/views/chat/index.vue index ae961679..9fdadd4a 100644 --- a/frontend/src/views/chat/index.vue +++ b/frontend/src/views/chat/index.vue @@ -1886,7 +1886,9 @@ onBeforeRouteUpdate((to, from, next) => { padding: 8px 0 0; box-sizing: border-box; overflow-y: auto; - overscroll-behavior-y: contain; + // Disable boundary bounce as well as scroll chaining: the sticky composer + // shares this viewport and otherwise moves with its rubber-band animation. + overscroll-behavior-y: none; scroll-padding-bottom: var(--chat-composer-height, 0px); scrollbar-gutter: stable; scrollbar-width: thin;