`ProgressView` does not animate `Progress.isIndeterminate` change

Originator:darren.mo
Number:rdar://FB13429864 Date Originated:2023-11-30
Status:Open Resolved:
Product:SwiftUI Product Version:iOS 17.2 Seed 3 (21C5046c)
Classification:Incorrect/Unexpected Behavior Reproducible:Always
 
I have attached a sample project that contains a `ProgressView` that is backed by a `Progress` object. When `Progress.isIndeterminate` changes, the `ProgressView` updates its subviews and layout accordingly. However, the update is not animated—even if I wrap the change in a `withAnimation` block.

In my opinion, the update should always be animated—even outside of a `withAnimation` block—since `Progress` changes could come from a lower layer of the app that might know nothing about SwiftUI (e.g. a package outside of our control).

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!