andreamazz / andreamazz/AMScrollingNavbar

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

未关闭
#366 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Swift
星标
6k
派生
628
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。