You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a segmented Picker with image-based Labels is placed in a toolbar, scrolling through the soft scroll edge effect color boundary causes the picker's icons to animate from scale 0→1 on every transition.
Repro steps:
Place a ScrollView with different colored content inside a navigation container
Add a segmented Picker with images to the toolbar
Scroll through the color boundary
Expected: Icons remain stable while scrolling
Observed: Icons animate from scale 0→1 on every transition between light and dark
Notes:
Does not reproduce with .labelStyle(.titleOnly) — text content is unaffected
Does not reproduce with a hard scroll edge effect, but only because the hard edge doesn’t alternate color schemes
SwiftUI animation modifiers have no effect.
The workaround I discovered was to wrap a segmented control in UIViewRepresentable and call UIView.performWithoutAnimation { view.layoutIfNeeded() } inside registerForTraitChanges([UITraitUserInterfaceStyle.self])
Submission Date
2026-02-19
Status
Open
Area
SwiftUI
Operating System Version
iOS 26.3
Type
Incorrect/Unexpected Behavior
Description
When a segmented Picker with image-based Labels is placed in a toolbar, scrolling through the soft scroll edge effect color boundary causes the picker's icons to animate from scale 0→1 on every transition.
Repro steps:
Expected: Icons remain stable while scrolling
Observed: Icons animate from scale 0→1 on every transition between light and dark
Notes:
The workaround I discovered was to wrap a segmented control in UIViewRepresentable and call UIView.performWithoutAnimation { view.layoutIfNeeded() } inside registerForTraitChanges([UITraitUserInterfaceStyle.self])
CleanShot.2026-02-19.at.21.36.48.mp4
CleanShot.2026-02-19.at.21.53.10.mp4
CleanShot.2026-02-19.at.22.15.59.mp4
toolbar-picker-bug.tar.gz
Keywords
No response
Prerequisites
FB<number>: <title>