Hey,
I am experiencing the same problem and found an ugly workaround that "fixed" the lag.
I added a @State showGraph that is false by default, when the view appears it is set to true and false when the view disappears. In the body I added if showGraph around my graph.
This fixes the lag but the Graph won't be shown for the first split second, it is still much faster than the ~600 ms hang I was experiencing. To me it seems there is a problem with Graphs and Navigation Stack.
Cheers
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: