Skip to content

Commit 3ef8fc9

Browse files
author
obi-mareo
authored
Allow simultaneous gesture
1 parent 77d5bb4 commit 3ef8fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CardStack/CardView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct CardView<Direction, Content: View>: View {
2626
self.content(self.swipeDirection(geometry))
2727
.offset(self.translation)
2828
.rotationEffect(self.rotation(geometry))
29-
.gesture(self.isOnTop ? self.dragGesture(geometry) : nil)
29+
.simultaneousGesture(self.isOnTop ? self.dragGesture(geometry) : nil)
3030
}
3131
.transition(transition)
3232
}

0 commit comments

Comments
 (0)