andreamazz / AMScrollingNavbar

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

BUG - Slide up in very small steps >> NavBar does not appear #330

Open StefaniOSApps opened 5 years ago

StefaniOSApps commented 5 years ago

Describe the bug If you scroll up without having your finger on the screen, the navbar is not displayed when you arrive at the top OR slide up in very small steps

To Reproduce Steps to reproduce the behavior:

  1. Open the Demo.
  2. Scroll up without finger like in the video.
  3. NavBar does not appear

Expected behavior NavBar should at appear when you arrive at the top (or before)

Video (ZIP) ScreenRecording_10-12-2018 00-53-41.MP4.zip

On the 3rd try you can see that the NavBar does not appear.

StefaniOSApps commented 5 years ago

You can also reproduce the bug by scrolling up in very small steps. I recorded this in this video. ScreenRecording_10-12-2018 19-23-33.MP4.zip

iniko83 commented 5 years ago

It's not bug. When you release your finger - controller just call checkForPartialScroll(), and navigationBar move up. Of course - where's an option do not checkForPartialScroll() - some screens may not require show/hide navbar. But where's no problem copy code and change it for your logic.

StefaniOSApps commented 5 years ago

Thanks for the very fast answer :-). I have now developed the previous framework and now use: https://github.com/StefaniOSApps/TLYShyNavBar

iniko1983x commented 5 years ago

Yes, I also failed to found Rx extension for scrolling navigationBar & seems also will tuning this solution by self :(

StefaniOSApps commented 5 years ago

You are welcome to watch my project. It has a very good demo. Currently it is still faulty on WKWebView.

Thanks for the very fast answer :-). I have now developed the previous framework and now use: https://github.com/StefaniOSApps/TLYShyNavBar