Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CollectionView, the footer moves to the bottom of the page when the empty view or empty view template is enabled #24966

Open
praveenkumarkarunanithi opened this issue Sep 27, 2024 · 2 comments · May be fixed by #24997
Assignees
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@praveenkumarkarunanithi
Copy link
Contributor

Description

When a CollectionView with an empty view or empty view template is placed within a Grid with a row definition set to "*", the empty view expands to fill the available space, causing the footer to be pushed to the bottom of the screen. This behavior is observed on both Android and iOS platforms.

This issue is a sub-issue of
CollectionView Header/Footer/EmptyView issues when adding/removing items. It focuses on the specific problem of footer positioning in Collectionview in Android and iOS platform.

Steps to Reproduce

  1. Create a maui app with a collectionview
  2. Define header/footer/emptyview (and itemtemplate)
  3. with empty view / empty view template observe what happens, especially for empty and footer view .

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

iOS, Android, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

@praveenkumarkarunanithi praveenkumarkarunanithi added the t/bug Something isn't working label Sep 27, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@ninachen03
Copy link

This issue has been verified using Visual Studio 17.12.0 Preview 2.1(9.0.0-rc.1.24453.9 & 8.0.82). Can repro this issue at Android platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
4 participants