We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6e880c commit 0f75191Copy full SHA for 0f75191
src/collectionview/index.ios.ts
@@ -530,7 +530,7 @@ export class CollectionView extends CollectionViewBase {
530
case ChangeType.Update: {
531
const indexes = NSMutableArray.new<NSIndexPath>();
532
indexes.addObject(NSIndexPath.indexPathForRowInSection(event.index, 0));
533
- if (sizes) {
+ if (sizes && event.index < sizes.count - 1) {
534
sizes.replaceObjectAtIndexWithObject(event.index, NSValue.valueWithCGSize(CGSizeZero));
535
}
536
// this._sizes[event.index] = null;
0 commit comments