has anyone run into this #SwiftUI issue on iOS 26 where segmented controls in a toolbar will scale from zero every time the scroll pocket appearance changes? any workaround?

This bug will not occur in a few cases:
- If I set the labels to .labelStyle(.titleOnly)
- If I set a hard scroll edge effect (because it doesn’t change color scheme for the underlying content)

Other things I tried:
- Seeing that text does not have this issue, I tried doing that gross thing of jamming an image inside of a text view (`Text(Image(systemName: "folder")) `) but since the picker is backed by a platform view, I'm guessing it doesn't know what to do there and it renders nothing.
- Disabling animations doesn't do anything (not with the transaction modifier or with the deprecated .animation(nil) modifier)
- For funsies, I put a huge screenshot of my entire desktop as an image in the picker and it exhibited the same bug

@samhenrigold I ran into this and tried everything you did, no success. I went with the hard edge effect workaround.
@samhenrigold just off hand, but does using a transaction modifier to remove any animations fix it?
@axiixc Nope. Not on the picker itself, not on the elements within, tried it up and down the stack.
@samhenrigold well that’s my usual hack 😅 I’d have to start poking at it then.
SwiftUI segmented control rendering bug

SwiftUI segmented control rendering bug. GitHub Gist: instantly share code, notes, and snippets.

Gist