Skip to content

Commit 9067d1a

Browse files
committed
fix tap recognition on clear background
1 parent 2903963 commit 9067d1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/ComponentsKit/Components/Card/SUCard.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public struct SUCard<Content: View>: View {
5858
)
5959
.shadow(self.model.shadow)
6060
.observeSize { self.contentSize = $0 }
61+
.contentShape(.rect)
6162
.gesture(
6263
DragGesture(minimumDistance: 0.0)
6364
.onChanged { _ in

0 commit comments

Comments
 (0)