-
-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web view's content behind navigation bar when returning from safari view controller #366
Comments
@andreamazz Do you have any insight into what may be causing this? I was trying to pinpoint it to put up a PR for it but having a hard time tracking it down. |
Some additional investigation has shown that if I set |
Further investigation shows me that when scrolling down on an iPhone X the When you scroll down and leave the application (in my case open a safari view controller), the content inset will get stuck at This is also an issue if the user starts the swipe to go back gesture but does not complete it. It will cause the |
It seems that the |
Hey @Cordavi |
Here you go @andreamazz. To reproduce, I scroll to the bottom and click the link in the bio and then close the controller and scroll to the top. If you do that repeatedly, the amount will grow. example-AMScrollingNavBarBug.zip |
I'm testing your sample, setting |
@andreamazz Here is an updated project that should reproduce the interaction issue hopefully. It does for me on an iOS 12 device iPhone 7 Plus. Hope that helps 😃 I am going into the article. Scrolling to the bottom and tapping the link in the bio. |
Describe the bug
When presenting a
SFSafariViewController
on top of a view controller that uses aScrollingNavigationController
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 version4.1.0
and before.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The web view's content is not behind the navigation bar.
Screenshots
The text was updated successfully, but these errors were encountered: