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

refreshCompletion getting called on addPullToRefresh / viewDidLoad #7

Open
lm2s opened this issue Nov 14, 2015 · 4 comments
Open

refreshCompletion getting called on addPullToRefresh / viewDidLoad #7

lm2s opened this issue Nov 14, 2015 · 4 comments

Comments

@lm2s
Copy link

lm2s commented Nov 14, 2015

The refreshCompletion block is getting called while the view is loading.

After debugging I've found that this condition is being executed while the view is loading / appearing:

public override func observeValueForKeyPath(...) {
(...)
if (scrollView.dragging == false && self.state != .Refreshing) {
 self.state = .Refreshing
}
(...)
@Spacelapp
Copy link

I think it's because autoStopTime is bei default 0.7 😅

@ppamorim
Copy link

+1

@ppamorim
Copy link

I will removed this library because this bug is very uncomfortable.

@SaurabhPrajapati
Copy link

The refreshCompletion block is getting called while the view is loading.

After debugging I've found that this condition is being executed while the view is loading / appearing:

public override func observeValueForKeyPath(...) {
(...)
if (scrollView.dragging == false && self.state != .Refreshing) {
 self.state = .Refreshing
}
(...)

I am facing same issue but only in iPhoneXSMax

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

4 participants