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
22.15k stars 1.74k forks source link

ListView GroupHeaderTemplate produces blank headers on iOS #19186

Open GV1072 opened 10 months ago

GV1072 commented 10 months ago

Description

  1. ListView GroupHeaderTemplate produces blank headers on iOS on expandable list view.
  2. This issue is working fine in Xamarin.Forms and both the platforms Android, IOS.
  3. Not able to migrate to .NET Maui due to this issue as it is block issue for IOS and listview control is the key control in my project.
  4. As per the below link there is an issue which is related to current issue in previous versions, but still reproducing in latest version in my scenario. https://github.com/dotnet/maui/issues/13076
  5. Please look into this issue. I hope, and I am expecting solution in coming releases.

Steps to Reproduce

  1. Create .NET Maui application with latest version. i.e. .NET 8
  2. Create one page and add list view control with grouping.
  3. Add one property like IsExpanded and one backup items property to show expand/collapse effect.
  4. On Collapse we are clearing group items and on Expand we are adding the items to group from backup items.
  5. Perform alternate expand and collapse action for the groups.
  6. Observe the missing group headers on iOS and MacCatalyst.
  7. On scrolling also getting same issue.

Actual Result: - ListView GroupHeaderTemplate getting blank. BlankGroupHeader_IOS

Expected Result: - GroupheaderWorking

Note: This issue is working fine in Xamarin.Forms and both the platforms Android, IOS. ListViewDemo.zip

Link to public reproduction project repository

ListViewDemo.zip

Version with bug

8.0.3

Is this a regression from previous behavior?

Yes, this used to work in Xamarin.Forms

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS, macOS

Did you find any workaround?

No

Relevant log output

NA
ghost commented 10 months ago

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

kimho1021 commented 10 months ago

+1

dilipgandham commented 10 months ago

+1

ravi1015 commented 10 months ago

+1

I am also getting the same problem with the expandable grouping list view on both platforms (Android and iOS), missing items and not displaying headers, etc.

Please provide the fix as soon as possible, as we are waiting for the upgrade to .Net MAUI.

Sai-Kodamati commented 10 months ago

+1

I am experiencing the identical issue with the expandable grouping ListView on both Android and iOS platforms, including missing items and header display issues. Kindly furnish a solution at your earliest convenience, as we eagerly anticipate the .NET MAUI upgrade.

GV1072 commented 7 months ago

@jsuarezruiz , @samhouts I am writing to request an update on the following issue. We are currently facing challenges with the .NET MAUI migration, and we are unable to proceed further. Your prompt attention to this matter would be greatly appreciated. Additionally, any workarounds or suggestions you can provide will be of immense help.

Thank you for your assistance.