From a387b3d1cd88cdcc057fd4c7d44517c796549b85 Mon Sep 17 00:00:00 2001 From: Mckay Wrigley Date: Sat, 18 Mar 2023 22:32:09 -0600 Subject: [PATCH] change to auto scroll --- components/Chat/Chat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index fd2b71d..331846f 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -19,7 +19,7 @@ export const Chat: FC = ({ model, messages, messageIsStreaming, loading, const messagesEndRef = useRef(null); const scrollToBottom = () => { - messagesEndRef.current?.scrollIntoView({ behavior: "smooth" }); + messagesEndRef.current?.scrollIntoView({ behavior: "auto" }); }; useEffect(() => {