andreamazz / andreamazz/AMScrollingNavbar

Web view's content behind navigation bar when returning from safari view controller

Aperta
#366 8 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Swift
Stelle
6k
Fork
628
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Describe the bug**
When presenting a `SFSafariViewController` on top of a view controller that uses a `ScrollingNavigationController` and returning to the app, the web view content will be behind the navigation bar when scrolling to the top. Upon inspecting various older version, this behavior was not apparent in version `4.1.0` and before.

**To Reproduce**
Steps to reproduce the behavior:
1. Setup a view controller with a scrolling navigation bar and a web view
2. Tap a link in the web content and open a safari view controller
3. Return to the app and scroll to the top, the content will be behind the navigation bar.

**Expected behavior**
The web view's content is not behind the navigation bar.

**Screenshots**

![Jul-24-2019 17-26-25](https://user-images.githubusercontent.com/16432044/61830019-327d8800-ae38-11e9-85ca-7a45f5849429.gif)
![Simulator Screen Shot - iPhone X - 2019-07-24 at 17 26 47](https://user-images.githubusercontent.com/16432044/61830027-390bff80-ae38-11e9-85db-4c0bfdf06921.png)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.