From 1a2b84093837fefc4aeb8ddc69923ffed8548158 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 15 Mar 2026 09:52:31 -0700 Subject: [PATCH] UI: Fix scroll jump when toggling thinking blocks during streaming --- js/global_scope_js.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/global_scope_js.js b/js/global_scope_js.js index ba5abcb2..92f65622 100644 --- a/js/global_scope_js.js +++ b/js/global_scope_js.js @@ -420,7 +420,9 @@ function applyMorphdomUpdate(data) { }, 0); } } + autoScrollToBottom(); updateInstructPadding(); + autoScrollToBottom(); // Restore scroll state so the browser's layout adjustment // from the toggle doesn't disable auto-scroll window.isScrolled = wasScrolled;