andreamazz / andreamazz/AMScrollingNavbar

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

Ouverte
#366 8 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Swift
Étoiles
6k
Forks
628
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.