diff --git a/LocalPackages/DuckUI/Sources/DuckUI/Button.swift b/LocalPackages/DuckUI/Sources/DuckUI/Button.swift index 0e03e0277a..720ebd4386 100644 --- a/LocalPackages/DuckUI/Sources/DuckUI/Button.swift +++ b/LocalPackages/DuckUI/Sources/DuckUI/Button.swift @@ -103,6 +103,7 @@ public struct GhostButtonStyle: ButtonStyle { .frame(minWidth: 0, maxWidth: .infinity, maxHeight: Consts.height) .background(backgroundColor(configuration.isPressed)) .cornerRadius(Consts.cornerRadius) + .contentShape(Rectangle()) // Makes whole button area tappable, when there's no background } private func foregroundColor(_ isPressed: Bool) -> Color {