SwiftUI Slider animation parameters don't work

Originator:m.h.blackmon
Number:rdar://FB13444117 Date Originated:12/04/2023
Status:Open Resolved:Open
Product: Product Version:
Classification: Reproducible:
 
I’m attempting to animate a Slider in SwiftUI driven by a value change with a custom animation and duration.  It does not work, no matter what I specify.

Steps to reproduce: 
1. Open the attached code file in SwiftUI project. 
2. Press the Animate button and observe the behavior. 

Notice the given linear duration of 10 is not respected, as the slider animates very quickly.  Any duration or animation curve (such as `easeOut`) is also not respected.

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!