AMScrollingNavbar icon indicating copy to clipboard operation
AMScrollingNavbar copied to clipboard

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

Open StefaniOSApps opened this issue 7 years ago • 5 comments

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 avatar Oct 11 '18 23:10 StefaniOSApps

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

StefaniOSApps avatar Oct 12 '18 17:10 StefaniOSApps

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.

iniko83 avatar May 17 '19 10:05 iniko83

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

StefaniOSApps avatar May 17 '19 23:05 StefaniOSApps

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

iniko1983x avatar May 18 '19 16:05 iniko1983x

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

StefaniOSApps avatar May 18 '19 19:05 StefaniOSApps