Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Bug: Clear Navigation Stack when changing to any Tab
Sure! Here I have the file with the complete code and an example video of the issue: https://github.com/era2099/navigationStackIssue/blob/main/ContentView.swift Steps: Run the app. Select Settings Tab Select one of the buttons on the list to navigate to another view Rapidly select Home Tab (when navigation transition is happening) Return to Settings Tab Expected: Settings Tab should have the NavigationStack clean. Displaying the Main Settings View with the list of three buttons. Actual: Settings Tab is still displaying the NavigationStack with one view inside.
Oct ’24