Skip to content

Commit c5be4c5

Browse files
fermoyadropfermoya
authored andcommitted
Ignore off-bounds touches
1 parent 8c5c248 commit c5be4c5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Sources/SwiftUIPager/PagerContent.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ extension Pager {
193193
#endif
194194
}
195195
})
196+
.contentShape(Rectangle())
196197
}
197198
}
198199
}

release_description.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
### Features
2-
- New initializer to use `PagerModel` instead of `Binding`
1+
### Fixes
2+
- #170 Page index resetting in nested `Pager`
3+
- #172 Pages don't seem to be clipped
4+

0 commit comments

Comments
 (0)