From a9a2ad5487224666407860387e094427ade7b216 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 7 May 2023 20:29:29 -0700 Subject: [PATCH] fix(chat): tweak auto scrolling on message logic to reduce scroll to bottom button showing --- web/components/chat/ChatContainer/ChatContainer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/chat/ChatContainer/ChatContainer.tsx b/web/components/chat/ChatContainer/ChatContainer.tsx index 064c5d34a..d5758c60b 100644 --- a/web/components/chat/ChatContainer/ChatContainer.tsx +++ b/web/components/chat/ChatContainer/ChatContainer.tsx @@ -211,7 +211,7 @@ export const ChatContainer: FC = ({ }); setIsAtBottom(true); setShowScrollToBottomButton(false); - }, 100); + }, 150); }; // This is a hack to force a scroll to the very bottom of the chat messages