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

scrolling pages #867

Open
Yeasirarafat53 opened this issue Sep 15, 2024 · 2 comments
Open

scrolling pages #867

Yeasirarafat53 opened this issue Sep 15, 2024 · 2 comments

Comments

@Yeasirarafat53
Copy link

is it possible to stop horizontally and vertically scrolling page changes? because i need manually change page using button.

@RezaPN
Copy link

RezaPN commented Sep 18, 2024

To prevent horizontal and vertical page scrolling, you can switch to single-page mode by adjusting the singlePage props. Then, use the setPage method from the ref props to manually change pages through a button.

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

No branches or pull requests

3 participants
@RezaPN @Yeasirarafat53 and others