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

Expose _state?.pageController?.position.activity?.isScrolling on CarouselController #425

Open
ChopinDavid opened this issue Oct 2, 2023 · 0 comments

Comments

@ChopinDavid
Copy link

It would be useful to be able to check whether the pageController of our CarouselController is currently scrolling. As for our use case, my team is using CarouselController.nextPage and CarouselController.previousPage to animate between carousel items. We do not want to allow the user to trigger this method multiple times while the pageController is scrolling, i.e. by spam tapping the "next" or "previous" buttons. Doing so creates an ugly "stuttering" effect while the user spam taps.

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

1 participant