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: