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

Reset scrolling programmatically #16

Open
mhomam opened this issue Sep 25, 2014 · 1 comment
Open

Reset scrolling programmatically #16

mhomam opened this issue Sep 25, 2014 · 1 comment

Comments

@mhomam
Copy link

mhomam commented Sep 25, 2014

I apply filter on button tap. So in this case I want reset scroll position to initial one. Please let me know, how could I do that programmatically.
Thanks!

@jeffla
Copy link
Contributor

jeffla commented Sep 26, 2014

@mhomam If you need a quick solution, modify the library and expose the underlying UICollectionViews as readonly properties so you can call scrollToItemAtIndexPath:atScrollPosition:animated: on the collectionView(s) you want to scroll.

I'll have to give a permanent solution some more thought.

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