diff --git a/components/Chat/Chat.tsx b/components/Chat/Chat.tsx index ff2a746..744b71c 100644 --- a/components/Chat/Chat.tsx +++ b/components/Chat/Chat.tsx @@ -36,7 +36,7 @@ export const Chat: FC = ({ conversation, models, messageIsStreaming, mode const handleScroll = () => { if (chatContainerRef.current) { const { scrollTop, scrollHeight, clientHeight } = chatContainerRef.current; - const bottomTolerance = 50; + const bottomTolerance = 30; if (scrollTop + clientHeight < scrollHeight - bottomTolerance) { setAutoScrollEnabled(false);