andreamazz / andreamazz/AMScrollingNavbar

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

Offen
#366 8 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**
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)

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.