SVPullToRefresh icon indicating copy to clipboard operation
SVPullToRefresh copied to clipboard

Pull to refresh view doesn't always hide cleanly

Open lordkev opened this issue 11 years ago • 6 comments

I'm running into an issue where the pull to refresh view doesn't always hide cleanly after calling stopAnimating. I haven't been able to nail down exactly what conditions it occurs under, aside that it appears somewhat "random" in my use.

I did however nail it down to this commit that is causing the issue: b88f78db6073aa3bba06ddbd50148e8270f4824e (from #99)

If I revert this commit then the pull to refresh view always hides cleanly, but I'm not sure how best to solve it so that @pilot34's use case also works.

Any ideas?

lordkev avatar May 29 '13 21:05 lordkev

It's ok if you revert my commit if nobody has the same problem. I'm working in branch

pilot34 avatar May 31 '13 14:05 pilot34

@samvermette I had the same problem, the pull to refresh sometime only partial hide. I solved this problem as suggested @lordkev reverting the commit. Could you do that in the cocoa pods version?

raphaeloliveira avatar Jun 25 '13 17:06 raphaeloliveira

I had the same problem with latest version. i found that stop stopAnimating is performed,but it do nothing when the network is closed or network is quick. how to solved it.

zhuhao528 avatar Oct 21 '13 10:10 zhuhao528

same here.

fustalol avatar Feb 18 '15 09:02 fustalol

I was also affected by this issue when using with a very fast internet connection, leading to a very short time period between calls to startAnimating() and stopAnimating().

Since the podspec hasn't been updated in 3 years, the fix referenced that has been committed to master hasn't made it through to the default pod yet.

You can workaround this for now by replacing

pod 'SVPullToRefresh'

with

pod 'SVPullToRefresh', :git => 'https://github.com/samvermette/SVPullToRefresh.git', :branch => 'master'

mattmcneeney avatar Oct 21 '15 19:10 mattmcneeney

Thanks @mattmcneeney! Spent 2 hours debugging this before I saw your comment.

jeffctown avatar Dec 22 '15 23:12 jeffctown