Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 65c8e2e

Browse files
committedMay 18, 2023
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

Lines changed: 1 addition & 0 deletions
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)
Please sign in to comment.