iOS 26 regression: Slider does not respect step parameter

In iOS 26, the Slider control no longer respects the step parameter. For example,

import SwiftUI

struct ContentView: View {
    
    @State private var sliderValue: CGFloat = 16
 
    var body: some View {
        Slider(
            value: $sliderValue,
            in: 0...100,
            step: 5,
            onEditingChanged: { editing in
                print(sliderValue)
            }
        )
    }
}

In iOS 18, this prints values like 5, 35, 60, 95, etc. In iOS 26.0 (release version), this prints floats that are not rounded to the nearest 5, and the slider does not snap to values ending in 5.

Feedback report number: FB20320542

iOS 26 regression: Slider does not respect step parameter
 
 
Q