in your code sample, replacing @Published var path = [Item]() with @Published var path = NavigationPath() fixes the issue
Post
Replies
Boosts
Views
Activity
Tested on a real device and simulator. Please check you are using Xcode 16 beta 5 that released yesterday and iOS 18 beta 5. I'm using NavigationPath
hey, can you please file a bug https://bugreport.apple.com so we can get a chance to get it fixed?
The issue also occurs with Observable Macro, I've uploaded a new sample project implementing Observable macro.
Hello,
Thank you very much for your reply and your help, I've tried the changes you suggest but the issue is still here and the views are still pushed twice. 😢
I will take a look at the Observable macro though. Thanks