Skip to content

Commit

Permalink
Merge pull request #52304 from mkzie2/fix/mkzie2-issue/52239
Browse files Browse the repository at this point in the history
Fix search icon is unresponsive
  • Loading branch information
techievivek authored Nov 18, 2024
2 parents b0378aa + 67f4e1b commit 63c8dd2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}

Expand Down

0 comments on commit 63c8dd2

Please sign in to comment.