You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ContentView is my first View. And, add the .toast modifier to it.
ContentView present(fullScreenCover) the LoginView. And, the LoginView has its own NavigationStack.
When i toggle the toast variable in LoginView. The ContentView will show the toast View. But, the toast View will behind the LoginView. Need close LoginView, you will see the toast.
How to solve this problem? My goal is to modifier toast in the first view so that toast will display normally whenever/anyplace it is triggered.
The text was updated successfully, but these errors were encountered:
@tospery I have a similar issue, a single shared toaspresenter that I use on the main view of my app. Whenever a toast is needed, I call the method to set the toast message and show it. However, I am facing a similar issue that it only shows on top of the root views or views pushed into the stack. If the view is presented, the alerts are always behind the view.
How to solve this problem? My goal is to modifier toast in the first view so that toast will display normally whenever/anyplace it is triggered.
The text was updated successfully, but these errors were encountered: