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

Issue with sticking to minimumHeight #59

Closed
ivanbarisic05 opened this issue Feb 3, 2017 · 5 comments
Closed

Issue with sticking to minimumHeight #59

ivanbarisic05 opened this issue Feb 3, 2017 · 5 comments
Labels

Comments

@ivanbarisic05
Copy link

ivanbarisic05 commented Feb 3, 2017

Hi there, thanks for your great lib. I have an issue where I try to disable MXParallaxHeader to stick to minimumHeight. It's like this, header is full screen image and when I scroll it down I get "stuck" on minimumHeight. Can you help me to avoid this kind of behaviour?

This is my implementation:

scrollView.parallaxHeader.view = header
scrollView.parallaxHeader.minimumHeight = 0
scrollView.parallaxHeader.height = UIScreen.main.bounds.height
scrollView.parallaxHeader.mode = MXParallaxHeaderMode.center
scrollView.parallaxHeader.delegate = self

@maxep
Copy link
Owner

maxep commented Feb 27, 2017

Hi, I'm sorry, I'm not sure to understand your issue. By setting scrollView.parallaxHeader.minimumHeight = 0 the header do not desappear when you scroll up ?
What is you scrollview's content insets?

@ibarisic05
Copy link

Hi @maxep, thanks for reply. I had issue when i set configuration like described on collection view. Problem was when I start scrolling up, screen stops when parallax header reaches offset that should get him outside the screen. Any way, I have solved this by creating my custom solution for the header. Thanks

@timotheeduran
Copy link

Hi, I have the same issue, anyone knows how to fix it ? :)

@axmav
Copy link

axmav commented Oct 11, 2017

+1

@stale
Copy link

stale bot commented Aug 9, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Aug 9, 2019
@stale stale bot closed this as completed Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants