dotnet/maui

MacOS - CollectionView with grouping + GridItemsLayout does not load.

migueBarrera opened this issue · 3 comments

Description

In macOS, you can't group lists with GridItemLayout.
You can group and define items but not both at the same time.

Steps to Reproduce

  1. Create a CollectionView with grouping enable and GridItemsLayout:
    <CollectionView.ItemsLayout> <GridItemsLayout Orientation="Vertical" Span="{OnIdiom Phone=2, Tablet=3, Desktop=3, Default=3}" HorizontalItemSpacing="5" VerticalItemSpacing="5" /> </CollectionView.ItemsLayout>
  2. The list doest not load any item.
  3. If you uncomment GridItemLayout block or set IsGroupingEnabled to false, the list load correctly.

Reproduce:
testmaui.zip

Version with bug

Release Candidate 2 (current)

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

Macos 12.3.1 M1

Did you find any workaround?

uncomment GridItemsLayout block or disable IsGroupingEnabled.

Relevant log output

No response

Also iOS doesnt work
Testing iOS simulator 15.4

verified repro on IOS 15.4 with above repro project, vs 17.3.0 Preview 2.0 [32516.434.main].

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.