bryankeller / BLKFlexibleHeightBar

Create condensing header bars like those seen in the Facebook, Square Cash, and Safari iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fast swiping down cause flexibleHeader not take effect immediately

haashem opened this issue · comments

when I scroll down slowly my custom flexible header smoothly comes down. but when I scroll down fast, flexible header stuck in its place! I don't see this effect when I scroll up fast.
here is the gif:
scroll

my workaround is override setProgress: in my custom flexible header and reposition imageView manually:

- (void)setProgress:(CGFloat)progress
{
    [super setProgress:progress];   
    if (progress<0) {
        self.imageView.y = navBarHeight;
    }
}