Hi everyone,
I’ve noticed an inconsistency in the behavior of SwiftUI’s DatePicker when using the .graphical style with a bounded date range (in:).
When a user selects a date (month or year) outside the allowed range:
If it's before the lower bound, the picker animates smoothly to the lower bound.
BUT if the selected date is after the upper bound, the picker immediately jumps to the upper bound without animation.
Note: Using .graphical style with displayedComponents: [.date].
Is this a known issue, and is there any recommended workaround or timeline for a fix? Or is this the intended behavior?
2
0
119