Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

iOS 26 Liquid Glass Gotcha: Adjacent Buttons Silently Swallowing Taps

DEV Community·Daksh Gargas·about 1 month ago
#8FjCD0Pg
Reading 0:00
15s threshold

We shipped a login screen on iOS 26 with two buttons styled using the new .glassEffect() API. Signup worked. Login didn't. No crash, no warning, no error -- just... nothing happened when you tapped it. It took longer to find than I'd like to admit. The Setup Two buttons stacked vertically, 26pt apart. Standard VStack layout: VStack ( spacing : 26 ) { Spacer () Button { store . send ( . signupButtonTapped ) } label : { Text ( "Sign Up" ) . padding () . frame ( width : buttonWidth , height : 55 ) } . glassEffect ( . clear . interactive ()) . buttonStyle ( . plain ) Button { store . send ( . loginButtonTapped ) } label : { Text ( "Log In" ) . padding () . frame ( width : buttonWidth , height : 50 ) } . glassEffect ( . clear . interactive ()) . buttonStyle ( . plain ) } Enter fullscreen mode Exit fullscreen mode Signup button: works fine. Login button: completely dead. Identical code, identical modifiers, only position differs.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More