-
Notifications
You must be signed in to change notification settings - Fork 55
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
Refresh animation won't disappear #15
Comments
I have run into the same issue with iOS 14.2, Xcode 12.2. It works as expected with previous versions. |
Same here! |
Same here... |
I found a temporary solution which works for me. The main problem is that updateUIView() in PullToRefresh.swift isn't invoked by variable change anymore. I didn't go deeply into the problem, but that's what I discovered. I made this change to the code. I hope the author sees this and that it will help him. Use it like this: |
I managed to fix this issue siteline#15
Don't know why, but got it to work like this:
edit: |
This worked for me, but I did have to put an 'if available" statement in for iOS 14. Following this topic for an update from the author. |
Bump. Is there a pending fix for this? |
try an actual action, it's because of asyncAfter, it's not triggering a redraw, the idea is that it works fine on real scenarios |
Facing the same issue even when using a real function. This is still a problem. |
I was facing the same issue. I found a workaround by using an observable object with a published boolean. I passed that published boolean from the observable object into pullToRefresh instead of passing a state variable and it worked as intended. |
@txdrx's solution worked best for me. Still waiting on official fix from library owner. |
this worked for me. thanks man |
The animation continues even if the list is empty, even by creating a new app and pasting the example code provided on the main page.
iOS 14.2, Xcode 12.2 (12B45b)
The text was updated successfully, but these errors were encountered: