diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index b300a7b35a39..c0024381bccd 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -3921,6 +3921,10 @@ function trackExpense( Navigation.dismissModal(isSearchTopmostCentralPane() ? undefined : activeReportID); if (action === CONST.IOU.ACTION.SHARE) { + if (isSearchTopmostCentralPane() && activeReportID) { + Navigation.goBack(); + Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(activeReportID)); + } Navigation.setNavigationActionToMicrotaskQueue(() => Navigation.navigate(ROUTES.ROOM_INVITE.getRoute(activeReportID ?? '-1', CONST.IOU.SHARE.ROLE.ACCOUNTANT))); }