From 8ec222b5e42e2abc58f9629998fe3c31f1319219 Mon Sep 17 00:00:00 2001 From: Alexey Bogomolov Date: Sat, 20 Jan 2024 18:32:19 +0300 Subject: [PATCH] check scroll on hit bottom --- app/components/chat.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index bde807476..361f79edb 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -961,7 +961,8 @@ function _Chat() { } setHitBottom(isHitBottom); - setAutoScroll(isHitBottom); + let isAutoScrollEnabled: boolean = config.autoScrollMessage; + setAutoScroll(isAutoScrollEnabled); }; function scrollToBottom() {