From 85fe866907fe9d6603a037e26b752d29251e2cdc Mon Sep 17 00:00:00 2001 From: nkdengineer Date: Wed, 25 Dec 2024 15:22:21 +0700 Subject: [PATCH] fix to scroll bottom when cancel payment --- src/libs/actions/IOU.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index 97b8e421f4fb..992b3c8c7e59 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -7742,6 +7742,7 @@ function cancelPayment(expenseReport: OnyxEntry, chatReport: O key: `${ONYXKEYS.COLLECTION.REPORT}${expenseReport.reportID}`, value: { ...expenseReport, + lastVisibleActionCreated: optimisticReportAction?.created, lastMessageText: ReportActionsUtils.getReportActionText(optimisticReportAction), lastMessageHtml: ReportActionsUtils.getReportActionHtml(optimisticReportAction), stateNum,