-
-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
`SwiftUIPager` stops supporting a binding in its initializer and will take a `Page` instead. This allows `Pager` to move even more smoothly than before. Use one of the convenience method to initialize a new `Page`: `firstPage()` or `withIndex(_:)`. It's not required but if modifying the page `index` was need then the object must be wrapped into `StateObject` or `ObservedObject` depending on the needs. | ||
|
||
### Features | ||
- New modifier `onPageWillChange` | ||
|
||
### Fixes | ||
- #170 Page index resetting in nested `Pager` | ||
- #172 Pages don't seem to be clipped | ||
- Fixed `onPageChanged` call too many times and before animation is over | ||
|