[quote='741498022, Frameworks Engineer, /thread/722924?answerId=741498022#741498022']
When selection changes in the sidebar, the navigation system pops value-based links off the stack.
[/quote]
I think I'm seeing this in my macOS Swift app but in my case it's not the behavior I want. I have navigation links in the sidebar and various views in the detail view. But I want to preserve the state of each detail view so that when the user navigates back to a particular view the navigation path and scroll state is preserved. But the system seems to be resetting the state of each detail view even if I control the navigation paths myself. Is there a way to disable this behavior?
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: