Go into full range mode if a scroll happens

This commit is contained in:
Michael Schneider
2016-03-12 15:44:27 -08:00
parent fe8cc9328c
commit e4ddb7e270
4 changed files with 24 additions and 1 deletions

View File

@@ -690,6 +690,8 @@ static NSString * const kCellReuseIdentifier = @"_ASCollectionViewCell";
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
{
[_rangeController scrollViewDidScroll:scrollView];
for (_ASCollectionViewCell *collectionCell in _cellsForVisibilityUpdates) {
// Only nodes that respond to the selector are added to _cellsForVisibilityUpdates
[[collectionCell node] cellNodeVisibilityEvent:ASCellNodeVisibilityEventVisibleRectChanged