-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
When using a CollectionView with ItemSizingStrategy="MeasureFirstItem" in HorizontalList or HorizontalGrid layouts, the sizing behavior does not work as expected. Items are not sized consistently based on the first item, leading to layout issues .
Screen.Recording.2025-04-25.at.12.20.52.PM.mov
Steps to Reproduce
- Run the attached sample ItemSizingStrategySample 2.zip
- Set ItemSizingStrategy as MeasureFirstItem for Horizontal List.
- Observe the layout, items are not sized uniformly, and their widths vary based on their content.
- Observe the behavior for Horizontal Grid also.
Expected Behavior: The CollectionView should size all items consistently based on the size of the first item in the collection
Actual Behavior: In HorizontalList and Horizontal Grid layout, items are not sized uniformly, and their widths vary based on their content.
Link to public reproduction project repository
No response
Version with bug
9.0.60 SR6
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-collectionviewCollectionView, CarouselView, IndicatorViewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androids/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working