I am encountering a bizarre habits on iOS 26. I’ve a easy Liquid Glass button on a view.
struct ContentView: View {
@State non-public var isSheetVisible: Bool = false
@State non-public var textual content: String = ""
var physique: some View {
VStack {
Button {
isSheetVisible.toggle()
} label: {
Textual content("Present Sheet")
.font(.system(measurement: 20))
.fontWeight(.semibold)
}
.buttonStyle(.glassProminent)
.controlSize(.giant)
.buttonSizing(.versatile)
.tint(.pink)
.body(width: 340)
.disabled(textual content.isEmpty)
}
.padding()
.sheet(isPresented: $isSheetVisible) {
OverlaySheet()
}
}
}
This works fantastic. And if I disable the button like this .disabled(textual content.isEmpty), the opacity of the textual content on the button is lowered a bit however nonetheless stays clearly seen.

Subsequent, I need to present a sheet over this view and I’ve an analogous button in that sheet as properly.
struct OverlaySheet: View {
@Surroundings(.dismiss) non-public var dismiss
@State non-public var textual content: String = ""
var physique: some View {
VStack {
Button {
dismiss()
} label: {
Textual content("Dismiss")
.font(.system(measurement: 20))
.fontWeight(.semibold)
}
.buttonStyle(.glassProminent)
.controlSize(.giant)
.buttonSizing(.versatile)
.tint(.pink)
.body(width: 340)
.disabled(textual content.isEmpty)
}
.padding()
.presentationDetents([.fraction(0.5)])
}
}
That is the place it will get bizarre. When the button within the sheet isn’t disabled, the button textual content seems. But when I disable the button just like what I did earlier than, the textual content barely seen.

Any thought what that is taking place?
