From 1a87d17d5e68dfa939681f43f09ad78b5501d116 Mon Sep 17 00:00:00 2001 From: dmkt9 Date: Thu, 10 Jul 2025 11:04:06 +0700 Subject: [PATCH] Fix - Chat doesn't auto-scroll when a payment is received with chat opened --- src/pages/home/report/ReportActionsList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionsList.tsx b/src/pages/home/report/ReportActionsList.tsx index 359c5801d3a9..4bf993f8ac7b 100644 --- a/src/pages/home/report/ReportActionsList.tsx +++ b/src/pages/home/report/ReportActionsList.tsx @@ -347,7 +347,7 @@ function ReportActionsList({ if ( scrollingVerticalOffset.current < AUTOSCROLL_TO_TOP_THRESHOLD && previousLastIndex.current !== lastActionIndex && - reportActionSize.current > sortedVisibleReportActions.length && + reportActionSize.current !== sortedVisibleReportActions.length && hasNewestReportAction ) { setIsFloatingMessageCounterVisible(false);