Post

Replies

Boosts

Views

Activity

Reply to SwiftUI NavigationLink freezing when tapped
I had this issue and tried all of the solutions here with no luck. I removed my dismiss environment variables, tried the UUID fix, tried three different grid implementations, nothing worked. I ended up stripping out everything in my destination view and added things back one by one until the issue showed up again, and it turns out my @Queries were causing the issue (along with a dotLottie State var). Even after removing the troublemakers, my destination view was super fragile, and the freezing would return. After trying to work on this for a couple of days, I switched from a Navigation Link to showing my destination view in a sheet, and everything works great! I can even bring back everything I thought was an issue, and the destination view works perfectly. Probably not a solution for everyone, but this worked for me.
1w