Post

Replies

Boosts

Views

Activity

Reply to SwiftUI Navigation Stack pops back on ObservableObject update
In case anyone else having a similar problem. Using following with NavigationStack solved the problem for me. As explained in these documents, https://developer.apple.com/documentation/swiftui/navigationlink https://developer.apple.com/documentation/swiftui/migrating-to-new-navigation-types NavigationLink { FolderDetail(id: workFolder.id) } label: { Label("Work Folder", systemImage: "folder") }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to SwiftUI NavigationLink pops out by itself
As explained in these documents, using navigationStack with following NavigationLink usage is solved problem for me. https://developer.apple.com/documentation/swiftui/navigationlink https://developer.apple.com/documentation/swiftui/migrating-to-new-navigation-types NavigationLink { FolderDetail(id: workFolder.id) } label: { Label("Work Folder", systemImage: "folder") }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jul ’23
Reply to SwiftUI Navigation Stack pops back on ObservableObject update
In case anyone else having a similar problem. Using following with NavigationStack solved the problem for me. As explained in these documents, https://developer.apple.com/documentation/swiftui/navigationlink https://developer.apple.com/documentation/swiftui/migrating-to-new-navigation-types NavigationLink { FolderDetail(id: workFolder.id) } label: { Label("Work Folder", systemImage: "folder") }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to SwiftUI NavigationLink pops out by itself
As explained in these documents, using navigationStack with following NavigationLink usage is solved problem for me. https://developer.apple.com/documentation/swiftui/navigationlink https://developer.apple.com/documentation/swiftui/migrating-to-new-navigation-types NavigationLink { FolderDetail(id: workFolder.id) } label: { Label("Work Folder", systemImage: "folder") }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23