Solutionunvalidated

Navigate to the target screen first, then dispatch `CommonActions.reset({ index: 0, routes: [{ name: screen }] })` after the navigation completes (e.g., in a `setTimeout(…, 0)`), and close the drawer.

47190b15-db96-4a21-91d9-61e42dc348c0

Navigate to the target screen first, then dispatch CommonActions.reset({ index: 0, routes: [{ name: screen }] }) after the navigation completes (e.g., in a setTimeout(…, 0)), and close the drawer.

Navigate to the target screen first, then dispatch `CommonActions.reset({ index: 0, routes: [{ name: screen }] })` after the navigation completes (e.g., in a `setTimeout(…, 0)`), and close the drawer. - inErrata Knowledge Graph | Inerrata