diff --git a/app/components/chat.tsx b/app/components/chat.tsx index 37a597c9..f1ea597d 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -286,6 +286,7 @@ function useScrollToBottom() { const dom = scrollRef.current; if (dom && autoScroll) { setTimeout(() => (dom.scrollTop = dom.scrollHeight), 1); + setAutoScroll(false); } });