NavigationPath pop to root working without animation

Here's the same issue at Stack Overflow : https://stackoverflow.com/questions/73753796/why-doesnt-clearing-the-new-ios-16-swiftui-navigationpath-to-pop-to-root-anim

// @State var path = NavigationPath() - Declared in a view
path.removeLast()

This code above works well with animation, popping up the top view. However,

path.removeLast(path.count)

Or

path = .init()

These codes, popping up to root view, works without animation.

Some guy said this is a bug and he've already reported to Apple but I'm wondering how the others are handling with this issue.

Is it the best way to hold on and wait apple to fix it?

Apparently, this was fixed in iOS16.2 based on the info provided in the stackoverflow thread you have provided.

NavigationPath pop to root working without animation
 
 
Q