Skip to content
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

App crashing after navigatingview to scrollview with SwiftUIRefresh #9

Open
sGerli opened this issue May 28, 2020 · 3 comments
Open

Comments

@sGerli
Copy link

sGerli commented May 28, 2020

Its crashing for me on PullToRefresh.swift line 68 refreshControl.beginRefreshing() Thread 1: EXC_BAD_ACCESS (code=1, address=0x20).
My app uses a navigationview and when I navigate to a view that uses a scrollview with this library (so its a navigation view with a scrollview inside of it) it sometimes crashes with that error.
As soon as the view becomes visible it starts loading data and the isShowing binding turns to true (I know it still can't be triggered programmatically).

Please tell me what else would you need to diagnose this issue.

@sGerli
Copy link
Author

sGerli commented Aug 14, 2020

Now it's crashing for me even on app launch on iOS 14 beta 4 with the same error.

@joshualogixsoftwarelab
Copy link

same here,

@vendulasvastal
Copy link

Same thing was happening to me because when onValueChanged() was called from PullToRefresh's Coordinator I was updating the binding value myself and the code ran into an infinite loop. So the solution for me was to remove line 31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants