SwiftUI Slider Step Animation issue

I am having an issue when using a slider, that if the value between the max and min is too high, the animation breaks if the step is set to low.

 Slider(value: $amountToAdd, in: -1500...1500, step: 10)

These seems odd since if you remove the step, its capable of going through the equivalent of 1 step with no issue.

Slider(value: $amountToAdd, in: -1500...1500)

Is there a way around this limitation, or is this a bug in swiftui with the slider? I do not see anything in the documentation that there is a limit.

Replies

tested your Slider with xcode 12.x, macos 11.x and ios 12.x and cannot replicate your issue.
What system (or other code) are you using?
Thanks for the response. I'm running onto the issue on watchOS, targeting 7.2.

Yup. Same issue with MacOS 13.0.1 Slider works as expected without the step, while if we add it, then the whole system freezes. SwiftUI and latest Xcode v14.1 (14B47b) running on MacOS 13.0.1.

This is definitely a bug. Anything above 500 will slow down the performance.