Skip to content

Commit 6a65bfc

Browse files
committed
fix:73728: delay navigation to next page after participants to let Onyx update properly
1 parent 6efb107 commit 6a65bfc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/pages/iou/request/step/IOURequestStepParticipants.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ function IOURequestStepParticipants({
355355
// We don't want to compare params because we just changed the participants.
356356
Navigation.goBack(route, {compareParams: false});
357357
} else {
358-
Navigation.navigate(route);
358+
Navigation.setNavigationActionToMicrotaskQueue(() => {
359+
Navigation.navigate(route);
360+
});
359361
}
360362
});
361363
}, [action, participants, iouType, initialTransaction, transactions, initialTransactionID, reportID, waitForKeyboardDismiss, isMovingTransactionFromTrackExpense, backTo, introSelected]);

0 commit comments

Comments
 (0)