Repository navigation
Description
Description
When using a CollectionView with GridItemsLayout (Span > 1) and grouping enabled, the layout is rendered inconsistently across platforms.
The CollectionView is configured with:
GridItemsLayout
Span = 5
Orientation = Vertical
VerticalItemSpacing set to a non-zero value (for example, 10)
IsGrouped = true
Steps to Reproduce
Clone the .NET MAUI repository and open it in Visual Studio.
Build and deploy the TestCases.HostApp project.
Navigate to Issue35700 in the HostApp(https://github.com/dotnet/maui/blob/inflight/candidate/src/Controls/tests/TestCases.HostApp/Issues/Issue35700.cs)
Run the sample on Windows, iOS, or macOS.
Observe the layout of the grouped CollectionView.
Actual behavior
The layout differs across platforms:
- Windows: The first item in the first group is rendered smaller than the other items.
- iOS: No spacing is applied between the group header and the first row of items.
- macOS: No spacing is applied between the group header and the first row of items.
Expected behavior
The grouped CollectionView should render consistently across all platforms:
- All items should have a uniform size.
- The configured VerticalItemSpacing should be applied consistently.
- The spacing between the group header and the first row of items should match the expected layout on every platform.
Link to public reproduction project repository
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
macOS, Windows, iOS
Affected platform versions
No response
Did you find any workaround?
No response
Activity
Shalini-Ashokan commentedon Jul 13, 2026
This issue has been validated in Visual Studio Code 1.128.0 with .NET MAUI versions main branch. It can be reproducible on Windows, iOS and Mac platforms.
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
6 remaining items
Publish reproduction evidence for #36545 on catalyst
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…
Fix inconsistent Grouped CollectionView (GridItemsLayout) rendering o…