Skip to content

Commit 65c8e2e

Browse files
committed
allow drag on whole container
1 parent c69304c commit 65c8e2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Views/HStackSnapCore.swift

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public struct HStackSnapCore<Content: View>: View {
9090
eventHandler?(.didLayout(layoutInfo: itemScrollPositions))
9191
}
9292
})
93+
.contentShape(Rectangle())
9394
.gesture(snapDrag)
9495
}
9596
.coordinateSpace(name: coordinateSpace)

0 commit comments

Comments
 (0)