fix(chat): prevent overscroll bounce from moving composer

main
wizardchen 2026-09-22 23:06:36 +08:00 committed by lyingbug
parent d69df50b7a
commit fbf9f54b6a
1 changed files with 3 additions and 1 deletions

View File

@ -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;