Skip to content

[CollectionView] Review Strategies to reduce Child Measure Propagation #25391

@PureWeen

Description

@PureWeen

Description

#23052 fixed some serious issues with iOS but it would ideal to dial this back some in scenarios where it's not necessary to bubble up invalidation events.

For example #25264

MeasureFirstItem

  • On a CollectionView if the measure strategy is MeasureFirstItem we never need to propagate MeasureInvalidated up from the templated views after the first measure has happened. If the user needs cells to resize they need to invalidate the measure on the CV themselves

Contraints

  • If views are constrained in a way that the height and width will never change then don't propagate up
  • Give users a way to fix the constraints on a view so it never remeasures after the first measure

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewdelighter-scperf/generalThe issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)s/triagedIssue has been reviewed

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions