appandflow / appandflow/react-navigation-bottom-sheet

Closing all open modals.

未關閉
#11 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
496
分支
24
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。