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

Less "sticky" scrolling #8

Open
andrewzboard opened this issue Jun 21, 2018 · 0 comments
Open

Less "sticky" scrolling #8

andrewzboard opened this issue Jun 21, 2018 · 0 comments

Comments

@andrewzboard
Copy link

This is a beautiful, succinct solution. I was wondering how to get the scroll to spin more freely, that is to go through more cards before stopping. I got the perfect answer here :

https://stackoverflow.com/questions/11561992/sensitivity-scroll-speed-of-uiscrollview-with-paging

In brief, turn off the isPagingEnabled flag, and implement the delegate method scrollViewWillEndDragging. (The stackoverflow answer sets the scroll deceleration to fast, but it should be normal.)

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