appandflow / appandflow/react-navigation-bottom-sheet

Closing all open modals.

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
496
Forks
24
PR merge metrics
No merged PRs in 30d

Description

It seems really hard to close all open modals. I have two modals that are open using `stackBehavior: 'replace'`.
The second modal contains a form that navigates to a different screen on submit. When I submit, it navigates to the new screen, and then opens the old modal again.

I have tried calling `dismissAll` from `useBottomSheetModal`. I have tried doing calling `Navigation.goBack()` and then `Navigation.navigate`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.