-
Notifications
You must be signed in to change notification settings - Fork 43
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
Bug when GBInfiniteScrollView in a controller which is invisible. #42
Comments
Hi @Shun87, |
I've run into the same problem. This happens when there's a GBInfiniteScrollView instance in a viewController A with autoScroll on. I doubt there're two bugs. So I try to stopAutoScroll when I push to Another viewController. I may track the problem and give you more detail if you still can not reproduce. |
Ok, once the instance is not in view and with autoScroll on, there comes the bug. |
I think I found out. |
Now my solution is stop the auto scroll when the scroll view is invisible, and start auto scroll when get back. @Shun87 |
I create a GBInfiniteScrollView instance on my viewController A, start AutoScroll, there is also a button on it, when I click it to push a new viewcontroller B, wait for a more than 3(default auto scroll duration is 3 seconds) seconds, click back button the show this viewcontrller A, contentView of GBInfiniteScrollView is blank, what's wrong?
The text was updated successfully, but these errors were encountered: