mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-30 20:52:29 +08:00
Fix #67
This commit is contained in:
@@ -346,7 +346,7 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
- (void)rangeController:(ASRangeController *)rangeController didSizeNodesWithIndexPaths:(NSArray *)indexPaths
|
||||
{
|
||||
ASDisplayNodeAssertMainThread();
|
||||
|
||||
[UIView performWithoutAnimation:^{
|
||||
[super beginUpdates];
|
||||
|
||||
// -insertRowsAtIndexPaths:: is insufficient; UITableView also needs to be notified of section changes
|
||||
@@ -361,6 +361,7 @@ static BOOL _isInterceptedSelector(SEL sel)
|
||||
[super insertRowsAtIndexPaths:indexPaths withRowAnimation:UITableViewRowAnimationNone];
|
||||
|
||||
[super endUpdates];
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user