Skip to content

CollectionView: Header, Footer, and Empty View Missing When Using it as Templates; Footer Moves to Bottom when Empty View is Enabled #24968

@praveenkumarkarunanithi

Description

Description

When using templates in the CollectionView, the header, footer, and empty view are not displayed as expected.
when using header, footer, empty as views the footer moves to the bottom of the page, and the header overlaps with the empty view in windows platform.

This issue is a sub-issue of
#11896. It focuses on the specific problem in windows platform.

Steps to Reproduce

  1. Create a maui app with a collectionview
  2. Define header/footer/emptyview as templates
  3. with empty view template observe what happens in view. The Empty view, Header and Footer all are missing.

Link to public reproduction project repository

https://github.com/tranb3r/Issues/tree/main/MauiAppCollectionViewHeaderOrEmpty

Version with bug

9.0.0-rc.1.24453.9

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

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-collectionviewCollectionView, CarouselView, IndicatorViewplatform/windowss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions