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
{{ message }}
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.
When the view is expanded to fit the progress spinner, every scroll view on the page is expanded. So if a scrollview has horizontal scroll views in it, they will all expand during loading
The text was updated successfully, but these errors were encountered:
I originally coded this scrollview for a project, but didn't end up using it in the end because it had bugs such as the one you posted here. I ended up using a regular SwiftUI List instead.
Did you figure out a solution to the problem? If you can show me a quick sample view that exhibits the problem I can look into it.
In the body I changed the alignment guide to a traditional offset. I just had to update how the offset worked, and now it works like a charm!
// Your ScrollView content. If we're loading, we want
// to keep it below the loading view, hence the alignmentGuide.
content()
.offset(y: (state == .loading) ? threshold - max(0, offset) : 0)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When the view is expanded to fit the progress spinner, every scroll view on the page is expanded. So if a scrollview has horizontal scroll views in it, they will all expand during loading
The text was updated successfully, but these errors were encountered: