dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.98k stars 1.72k forks source link

Maui CollectionView reordering displays multiple group headers on iOS #24073

Open jakehenning opened 1 month ago

jakehenning commented 1 month ago

Description

When using a CollectionView with 'IsGrouped', 'CanMixGroups' and 'CanReorderItems', it's possible to get the iOS app to show the Group Header multiple times once you have moved 2 or more items.

Steps to Reproduce

1) Create CollectionView with 'IsGrouped', 'CanMixGroups' and 'CanReorderItems'. 2) Add data so you have a grouped list with 2 or more sections and bind to CollectionView. 3) Move 2 or more items to different sections.

Link to public reproduction project repository

No response

Version with bug

8.0.40 SR5

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

github-actions[bot] commented 1 month ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

RoiChen001 commented 3 weeks ago

@jakehenning Could you provide us with a sample project so we can investigate it? Looking forward to your reply!

jakehenning commented 3 weeks ago

I've attached a sample project. The issue is present on iOS devices and simulators.

ReordableCollectionViewDemo.zip

jaosnz-rep commented 3 weeks ago

I can repro this issue at iOS platform on the latest 17.12.0 Preview 1.0(8.0.80 & 8.0.40 & 8.0.21).