NavigationStack(path: ) is not working as expected
I am developing an application with SwiftUI. I am having trouble with NavigationStack(path: )
.
Swiftui Navigation with button and isPresented not navigating correctly
So, I have a homeview with a side menu in which I have a list of options and a singin button. On navigating to signin button, I want to make the menu visibility to false and navigate to signin view but for some reason, It is not working as expected. It does make the menu visibility to false but it doesnt show the signin view. Instead when I click on the menu again, then it is navigating to signing.