Skip to content

Commit 3baa8e8

Browse files
committed
Add scroll-to-end behavior for transaction thread
1 parent 89af20d commit 3baa8e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pages/home/report/ReportActionsList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ function ReportActionsList({
389389
return;
390390
}
391391

392-
const shouldScrollToEnd = isExpenseReport(report) && isSearchTopmostFullScreenRoute();
392+
const shouldScrollToEnd = (isExpenseReport(report) || isTransactionThread(parentReportAction)) && isSearchTopmostFullScreenRoute();
393393

394394
if (shouldScrollToEnd) {
395395
setShouldScrollToEndAfterLayout(true);

0 commit comments

Comments
 (0)