Skip to content

[Windows] CollectionView with grouping fails to add items when a footer template is present or crashes when removing data. #24866

@NirmalKumarYuvaraj

Description

@NirmalKumarYuvaraj

Description

Issue 1: When CollectionView has grouping enabled and includes a footer template, newly added items are not reflected in the view.

Issue 2: Using CollectionView with grouping causes an exception when clearing and adding items.

Steps to Reproduce

  1. Run the project
  2. Click on Add to reproduce issue 1.
  3. Notice only count is increased but item is not added in the view.
  4. Click on clear to reproduce issue 2.
  5. Notice the app will crash

Link to public reproduction project repository

https://github.com/daniel-c/MauiGroupedCollectionTest

Version with bug

8.0.90 SR9

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Output

Windows.-Before.mp4

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions