The event of closing modal is finished (promise resolved), but the closing animation is still in progress. Consequently, the second modal is actually rendered (with componentDidMount
and stuff), but the view is invisible.
Related to #3733 and #5045
// this won't work
await Navigation.dismissAllModals();
await Navigation.showModal(); // component is rendered, but invisible
// this works
await Navigation.dismissAllModals();
await wait(1000); // 1 sec
await Navigation.showModal(); // component is rendered, and visible
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
This is definitely still an issue.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.
I believe this issue is still valid.
Fixed by #6671
Most helpful comment
I believe this issue is still valid.