Skip to content

[windows, iOS & macOS]Grouped CollectionView with GridItemsLayout renders inconsistent layout across platforms #36545

Closed

Description

@LogishaSelvarajSF4525

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

https://github.com/dotnet/maui/blob/inflight/candidate/src/Controls/tests/TestCases.HostApp/Issues/Issue35700.cs

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

Relevant log output

Activity

  1. Shalini-Ashokan commented on Jul 13, 2026

    @Shalini-Ashokan
    Contributor

    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.

  2. added
    s/verifiedVerified / Reproducible Issue ready for Engineering Triage
    s/triagedIssue has been reviewed
    on Jul 13, 2026
  3. added this to the .NET 10 SR10 milestone on Jul 13, 2026
  4. added 3 commits that reference this issue on Jul 20, 2026
    13533be
    7dc1d9b
    473550d
  5. 6 remaining items

  6. added a commit that references this issue on Aug 25, 2026
  7. added 12 commits that reference this issue on Aug 27, 2026
    4aa8be4
    a1d668b
    625c06b
    7a08e32
    d35261c
    e33ef46
    c9b48f1
    16b0d48
    97b0de7
    5ab2c64
    9551ab9
    19aea8f
  8. locked and limited conversation to collaborators on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions