I have noticed a strange bug with TabView in the settings window of an macOS app. When text is typed into a textbox, the icon jiggles a little bit, but ONLY on a non-retina monitor (1920x1200 in my test). Some icons jiggle, others don’t. Below is code for the gearshape which exhibits this behavior. “sparkle” doesn’t. Very odd. Tried on macOS 15.0.1, Xcode 16.
You can see it in action here
https://imgur.com/a/huCw7sN
// App file
@main
struct TabViewJiggleApp: App {
var body: some Scene {
WindowGroup {
ContentView()
}
Settings {
SettingsView()
}
}
}
// Settings view
struct SettingsView: View {
@State private var input: String = ""
var body: some View {
TabView {
TextField("Enter text", text: $input)
.tabItem {
Label("General", systemImage: "gearshape")
.font(.system(size: 20))
}
}
}
}