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

[[parallaxView scrollView] scrollsToTop:YES] doesn't seem to work #2

Closed
KiranPanesar opened this issue Nov 19, 2012 · 5 comments
Closed

Comments

@KiranPanesar
Copy link

Tapping the status bar doesn't cause the MDCParallaxView instance to scroll to the top, even when specifying it using the scrollview's 'scrollsToTop:' method.

@modocache
Copy link
Owner

Good call, thanks. I will look into this. Pull requests also welcome.

@chadpod
Copy link

chadpod commented Feb 1, 2013

Add _backgroundScrollView.scrollsToTop = NO;

in:

  • (id)initWithBackgroundView:(UIView *)backgroundView foregroundView:(UIView *)foregroundView

Can't have more than one scroll view with scrollsToTop set to YES.

@modocache
Copy link
Owner

Awesome, thanks. Pull requests welcome.

@chadpod
Copy link

chadpod commented Feb 1, 2013

Thanks for open sourcing your parallax view. Figured since it was a one liner, pull request was overkill. Probably quicker and easier just for you to edit in place on GitHub. Thanks again.

@modocache
Copy link
Owner

Fixed in cc2172b. Please update your podfile to use v0.1.1.

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

No branches or pull requests

3 participants