andreamazz / AMScrollingNavbar

Scrollable UINavigationBar that follows the scrolling of a UIScrollView
MIT License
6.05k stars 633 forks source link

Reddit header doesn't follow navbar #349

Open aehlke opened 5 years ago

aehlke commented 5 years ago

Describe the bug In the Reddit webview example, when the navbar collapses, the Reddit header floats with a gap above it.

To Reproduce Simply open the included webview demo and collapse the navbar.

Expected behavior This could be a Reddit bug, but I'm wondering if there's anything that could be done to resolve this so that the Reddit header follows the navbar as it collapses.

tungdx commented 5 years ago

I got the same issue when running on iOS 12.1. image

andreamazz commented 5 years ago

Yeah, I noticed that. Not sure what to do about it, to be honest with you (besides changing the sample URL 😬 ) It's more of an issue with their frontend.

tungdx commented 5 years ago

Hi @andreamazz FYI, I tested on Safari and Chrome, it did not happen

andreamazz commented 5 years ago

I see. Still, no idea why it's not adapting to the viewport. Any idea is welcome.

tungdx commented 5 years ago

Anyway, thank you so much for sharing a very good library.