andreamazz / andreamazz/AMScrollingNavbar

scroll to top doesn't work correctly

Open
#389 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6k
Forks
628
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
scroll to the top doesn't work correctly.

**To Reproduce**
create a tableView including too many items.
scroll to the middle of tableView and then call this:
```swift
if let navigationController = self.navigationController as? ScrollingNavigationController {
navigationController.showNavbar(animated: true, duration: 0.2, scrollToTop: true)
}
```
It scrolls to top but not actually to top of tableView.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.