appandflow / appandflow/react-navigation-bottom-sheet

Closing all open modals.

Aperta
#11 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
496
Fork
24
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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`.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.