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.
Now when the sheet is opened, weirdly the navigation link is close, so I jump back to the main page, the Scroll view, the sheet is still opened, but the dismiss() function is not working, so exiting the sheet is only possible via "sliding down". When using the exact same setup with a normal ScrollView instead of the RefreshableScrollView everything works perfectly as it should...
Sadly i don't know how to work around this issue and fix it myself...
The text was updated successfully, but these errors were encountered:
I cannot reproduce the issues you're mentioning. I created this sample which works for me.
Note that when you present the RefreshableScrollView in a sheet, you can't pull it down to dismiss it. It will refresh instead.
The SwiftUI environment works through the UIViewController that RefreshableScrollView uses under the hood. So the dismiss call from SwiftUI works as you would expect.
So basically, what I've done is the following:
Now when the sheet is opened, weirdly the navigation link is close, so I jump back to the main page, the Scroll view, the sheet is still opened, but the dismiss() function is not working, so exiting the sheet is only possible via "sliding down". When using the exact same setup with a normal ScrollView instead of the RefreshableScrollView everything works perfectly as it should...
Sadly i don't know how to work around this issue and fix it myself...
The text was updated successfully, but these errors were encountered: