Skip to content

iOS - Grouped CollectionView doesn't render properly when VerticalOptions = FillAndExpand #14978

@mwnovaprove

Description

@mwnovaprove

Description

Having a CollectionView with IsGrouped set to True and VerticalOptions set to FillAndExpand results in a wrong view rendering with empty groups and half-seen elements in list when data get reloaded after navigating back and forth from another view (with Shell navigation).

The bug does NOT exist on Android and WinUI.
It only occurs on iOS and MacCatalyst.

Steps to Reproduce

  1. Deploy the sample project on iOS Simulator or any other physical mobile device.
  2. Navigate to "List" tab then toggle the switch on your top left to filter data. Everything works correctly and groups are rendered as expected.
  3. Now navigate into the detail page by tapping one of the items.
  4. Then, come back to the list and toggle the switch again.
  5. Do it several times and you will see a wrong rendering in the elements of the list (included some unwanted empty groups being created).

image

Link to public reproduction project repository

https://github.com/ImproveSoftware2022/GroupedCollectionSample.git

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

iOS 16.4

Did you find any workaround?

I can remove VerticalOptions=FillAndExpand to avoid the wrong rendering, but this results into an unscrollable list on iOS and MacCatalyst.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/ioss/triagedIssue has been revieweds/try-latest-versionPlease try to reproduce the potential issue on the latest public versions/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions