Replies: 1 comment
-
Hi @LuciaZ50, unfortunately these are just bugs in vanilla SwiftUI, and they are ones that our library don't try to work around, and we probably can't even work around them. In general we have found that If you provide some code that demonstrates the problem you are having we can at least confirm that it is definitely a vanilla SwiftUI bug, and maybe we can think of a workaround. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I have been reading the issues and discussions and I got to the conclusion that SwiftUI navigation has some bugs.
I use navigationDestination and an enum Destination to set the destination in the VM. If i have multiple screens and this is the flow: Screen 1 -> Screen 2 -> Screen 3. When i add the third screen i get a strange bug -> my screen becomes white without content(see picture below) and i need to tap the back button one more time for it to work. Also when im on screen 2 or 3 and try to show an alert, first the screen becomes white and when i retap the button that shows the alert then the alert gets shown correctly. But if i only have 2 screens they work fine. The bug occurs when i add more than 2 screens.
What are your thoughts about this and how could i solve this problem?
Beta Was this translation helpful? Give feedback.
All reactions