andreamazz / andreamazz/AMScrollingNavbar

Bottom View popups issue on showNavBar when followerView exists

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

Beschreibung

https://streamable.com/f7q3g

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:

1. when showNavBar is triggered.

2. when checkForPartialScroll is triggered from semi to extened.

reproduce full code here:
https://github.com/Alexookah/AMScrollingNavbar

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.