mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-17 19:04:39 +01:00
UI: Fix scroll jump when toggling thinking blocks during streaming
This commit is contained in:
parent
bfea49b197
commit
1a2b840938
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue