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

TableView contentOffset incorrect when load more many times #61

Closed
hien352911 opened this issue Feb 5, 2020 · 2 comments
Closed

TableView contentOffset incorrect when load more many times #61

hien352911 opened this issue Feb 5, 2020 · 2 comments

Comments

@hien352911
Copy link

I run sample project with any type UITableView (Native, Circle, ..)
I replaced
[weakSelf.tableView.footRefreshControl endRefreshingWithAlertText:@"Loading " completion:^{
[weakSelf.tableView reloadData];
}];
to
[weakSelf.tableView.footRefreshControl endRefreshing];
Ex: First, 6 rows.
Load more 1: 12 rows
Load more 2: 18 rows
Load more 3: 24 rows
Load more 4: 30 rows
Load more 5: 36 rows (bottom off set on row 33, not index 30)
Load more 6: 42 rows
Load more 7: 48 rows (bottom off set on row 39, not index 42) (offset incorrect = 3)
Load more 8: 54 rows (bottom off set on row 42, not index 48) (offset incorrect = 6)
Load more 8: 60 rows (bottom off set on row 46, not index 54) (offset incorrect = 8)
Load more 8: 66 rows (bottom off set on row 49, not index 60) (offset incorrect = 11)
Load more 8: 72 rows (bottom off set on row 52, not index 66) (offset incorrect = 14)
Load more 8: 78 rows (bottom off set on row 55, not index 72) (offset incorrect = 17)

@BeatsKitano
Copy link
Owner

请详细描述

@hien352911
Copy link
Author

Sorry, now, it is OK. I'll close this issue

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

2 participants