I have the same issue. I am new to iOS development and haven't got any solution to this problem yet.
But I have an understanding that the problem is not with NavigationLink.
It loads the new view but somehow it was not able to disapper the current view and it stuck there. You can check this out by using onAppear and onDisapper on the current view and view you want to load.
There is something to do with NavigationStack and @Environment(.dismiss). As NavigationLink will work if you remove NavigationStack or replace it with NavigationView.
If someone got the solution with NavigationStack please let me know
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: