You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if there is anything this package can do about this, but I experienced an issue in iOS 15 and at least it might help somebody else.
The problem:
If you have a parent-child view scenario with a NavigationView in the parent view and a ScrollView in the detail/child view, you must not attach .safariView() to the ScrollView.
This was perfectly fine in iOS 14, but it seems in iOS 15 the navigation no longer detects the ScrollView, or at least the scroll position and therefore, the navigation bar at the top does not update when the user scrolls down.
Solution:
Simply attach .safariView() to an element inside ScrollView { … }.
I hope my description makes sense. I have no deeper insights, I only narrowed down the issue in my app and came up with this solution. Hope it helps somebody.
The text was updated successfully, but these errors were encountered:
I'm not sure if there is anything this package can do about this, but I experienced an issue in iOS 15 and at least it might help somebody else.
The problem:
If you have a parent-child view scenario with a
NavigationView
in the parent view and aScrollView
in the detail/child view, you must not attach.safariView()
to theScrollView
.This was perfectly fine in iOS 14, but it seems in iOS 15 the navigation no longer detects the
ScrollView
, or at least the scroll position and therefore, the navigation bar at the top does not update when the user scrolls down.Solution:
Simply attach
.safariView()
to an element insideScrollView { … }
.I hope my description makes sense. I have no deeper insights, I only narrowed down the issue in my app and came up with this solution. Hope it helps somebody.
The text was updated successfully, but these errors were encountered: