AMScrollingNavbar
AMScrollingNavbar copied to clipboard
Scrolling Issue >> upgrade to Scrolling Delegate required
Describe the bug If you scroll and slide your finger diagonally across the screen, the NavigationBar will not recognize it. So it will not collapse and will not expand. Furthermore, with scrolling small steps, the NavigationBar will not collapse and expand. Even if you include a UiTableview in a UiTableview and only scroll inside, the UiNavigationBar becomes unnecessarily collapsed or expand. This does not happen with a delegate method. The error is the same in all three causes.
To Reproduce Steps to reproduce the behavior:
- Open Demo or your own project
- Slide your finger diagonally across the screen to scroll the UiTableView or UiCollectionView or...
- NavBar does not collapse or expand.
Expected behavior NavBar should collapse or expand
Screenshots If you need a video, so I can deliver it.
It's the intended behavior: https://github.com/andreamazz/AMScrollingNavbar/blob/master/Source/ScrollingNavigationController.swift#L663-L669 I can add an option for this if needed.
That sounds good. There are 3 cases.
- Diagonal scrolling
- Scroll if a UiTableView has been integrated into a UiTableViewCell
- Scrolling is not recognized when the scrolling steps are very small.
one more issue
- Drag and Drop UiTableViewCells (The NavBar did collapse or expand by dragging (not scrolling))
https://github.com/andreamazz/AMScrollingNavbar/issues/358#issuecomment-444897315 This solves the first point. There are still 2 left.