make sure ASCV's layoutFacilitator triggers layout recalculation when its subnode has size change

This commit is contained in:
Gordon Chen
2016-03-11 16:49:33 -08:00
parent e3dde87bfd
commit 508ac44238

View File

@@ -1023,6 +1023,7 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
}
_queuedNodeSizeUpdate = YES;
[_layoutFacilitator collectionViewWillEditCellsAtIndexPaths:@[[self indexPathForNode:node]] batched:NO];
[self performSelector:@selector(requeryNodeSizes)
withObject:nil
afterDelay:0