Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] .dragBackwardsOnly() ? #327

Open
trapper- opened this issue Sep 20, 2023 · 1 comment
Open

[FEAT] .dragBackwardsOnly() ? #327

trapper- opened this issue Sep 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@trapper-
Copy link

Is it possible to navigate programmatically forwards, and allow drag backwards only?

@trapper- trapper- added the enhancement New feature or request label Sep 20, 2023
@johnnewman
Copy link

This is a great idea.

This would help when using SwiftUIPager to manage paginated input. If the selected page is incomplete/erroneous, it would be beneficial to disable forward swiping so that the user can't continue, while still allowing backward swiping so that the user can access previous pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants