SwiftUI navigation problem

Hey Guys 👋,

I'm the developer of LogBot a client for makerlog. Makerlog is the place to post your daily work.

But I have one big problem (okay there is more than one 😓) I have a big in my navigation. Sometimes when I navigate back from a screen to a other the screen jumps back and forth.

I have recorded the problem:

https://www.icloud.com/iclouddrive/0IbWURJ0ayXAu3VKaxc2ZBiWw#Screen_Recording_2020-06-26_at_21.26

Maybe it has something todo that I have some background API requests running (inside my observed objects) but I'm not sure. I use Combine to fetch the data from the API.

Dose some one know this bug / problem ? Had the some one ?

Btw it is on iOS 13.5 and 14 !

Happy Coding !

Best,
Veit
I have seen this problem several times as well. Usually when clicking on a NavigationLink it goes to the page, and then comes immediately back again. Sometimes twice! A couple of times I had figured out that there was a problem in the view I was navigating to, but with the case I'm seeing today it just seems to happen spontaneously sometimes, but going straight back into the link again works fine.

SwiftUI navigation problem
 
 
Q