andreamazz/AMScrollingNavbar
Bottom View popups issue on showNavBar when followerView exists
開放
#302 建立於 2018年3月6日
help wanted
倉庫指標
- 星標
- (6,074 顆星)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
check the above video.
using:
UINavigationBar.appearance().isTranslucent = false
In Sampler / TableView
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if let navigationController = self.navigationController as? ScrollingNavigationController {
navigationController.showNavbar(animated: true, duration: 0.2)
}
}
and
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
cell.backgroundColor = .lightGray
}
I noticed there is a bottomView Poping from the bottom when using a follower View. This happens in two situations:
-
when showNavBar is triggered.
-
when checkForPartialScroll is triggered from semi to extened.
reproduce full code here: https://github.com/Alexookah/AMScrollingNavbar