diff --git a/src/pages/home/report/ReportActionsList.tsx b/src/pages/home/report/ReportActionsList.tsx index 3fcdc35ae300..6364095d81c8 100644 --- a/src/pages/home/report/ReportActionsList.tsx +++ b/src/pages/home/report/ReportActionsList.tsx @@ -415,19 +415,21 @@ function ReportActionsList({ const scrollToBottomForCurrentUserAction = useCallback( (isFromCurrentUser: boolean) => { - // If a new comment is added and it's from the current user scroll to the bottom otherwise leave the user positioned where - // they are now in the list. - if (!isFromCurrentUser) { - return; - } - if (!hasNewestReportActionRef.current) { - if (isInNarrowPaneModal) { + InteractionManager.runAfterInteractions(() => { + // If a new comment is added and it's from the current user scroll to the bottom otherwise leave the user positioned where + // they are now in the list. + if (!isFromCurrentUser) { return; } - Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(report.reportID)); - return; - } - InteractionManager.runAfterInteractions(() => reportScrollManager.scrollToBottom()); + if (!hasNewestReportActionRef.current) { + if (isInNarrowPaneModal) { + return; + } + Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(report.reportID)); + return; + } + reportScrollManager.scrollToBottom(); + }); }, [isInNarrowPaneModal, reportScrollManager, report.reportID], );