andreamazz / andreamazz/AMScrollingNavbar

scroll to top doesn't work correctly

Offen
#389 11 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Swift
Sterne
6k
Forks
628
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.