maxep / MXParallaxHeader

Simple parallax header for UIScrollView
MIT License
1.73k stars 251 forks source link

Bug when cells don't fill the screen #43

Closed Ricardo1980 closed 5 years ago

Ricardo1980 commented 8 years ago

If we modify the sample project to return less cells than the size of screen, for example 2, and we setup a minimumHeight, like: self.scrollView.parallaxHeader.minimumHeight = 100;

Then there is a weird behaviour in the header, see video. At the moment I didn't have time to research, will do that later.

bug header mov

maxep commented 8 years ago

Wow yes its weird.. maybe its related to #41, did you try with the latest code ?

Ricardo1980 commented 8 years ago

I tried the last code right now and it is even worse, because it is happening from the beginning, without modifying the sample code. See attached video.

header mov

jj-12 commented 8 years ago

I'm seeing the same issue with the latest code. It only happens when the table does not have enough cells to fill the whole screen for me though.