Skip to content

Commit ed4716c

Browse files
committed
fix: Improves scroll interval on active responses stream
1 parent 6c9992a commit ed4716c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/server/webui/src/lib/components/app/chat/ChatScreen/ChatScreen.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
142142
$effect(() => {
143143
if (isLoading() && autoScrollEnabled) {
144-
scrollInterval = setInterval(scrollChatToBottom, 200);
144+
scrollInterval = setInterval(scrollChatToBottom, 50);
145145
} else if (scrollInterval) {
146146
clearInterval(scrollInterval);
147147
scrollInterval = undefined;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const AUTO_SCROLL_THRESHOLD = 100;
1+
export const AUTO_SCROLL_THRESHOLD = 200;

0 commit comments

Comments
 (0)