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

Disable behaviors when using [UICollectionView scrollToItemAtIndexPath:atScrollPosition:animated:] #14

Open
jakunico opened this issue Jul 1, 2014 · 1 comment

Comments

@jakunico
Copy link

jakunico commented Jul 1, 2014

Hi,

I'd like to disable the dynamic behaviour when using [UICollectionView scrollToItemAtIndexPath:atScrollPosition:animated:] but activate it again for when a user scrolls.

Is there a way to do this?

Many thanks,
Nicolás.

@ashfurrow
Copy link
Contributor

That's actually a little tricky ... easiest way might be to make a corresponding, non-dynamic layout, such that it has the same placement but doesn't "bounce". Then, you'd have to change the layout, scroll, and then change it back once the scrolling is complete.

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

2 participants