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

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

Merged
merged 7 commits into from
Jan 24, 2025

Conversation

PureWeen
Copy link
Member

@PureWeen PureWeen commented Jan 22, 2025

Description of Change

Changes made in #24997 modified the EmptyView so that it doesn't always take up the entire height and instead sizes to the content. Though this is a valid scenario, the changes shifted the behavior too far the other direction. We need to look at some options around the use of LayoutOptions to influence the sizing here to allow users more flexibility.

Issues Fixed

Fixes #27229
Fixes #26838

…en the empty view or empty view template is enabled (#24997)"

This reverts commit 763b6f5.

# Conflicts:
#	src/Controls/src/Core/Handlers/Items/iOS/ItemsViewController.cs
#	src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24966.cs
@Copilot Copilot bot review requested due to automatic review settings January 22, 2025 19:08
@PureWeen PureWeen requested a review from a team as a code owner January 22, 2025 19:08
@PureWeen PureWeen added this to the .NET 9 SR3.1 milestone Jan 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 8 out of 12 changed files in this pull request and generated no comments.

Files not reviewed (4)
  • src/Controls/tests/TestCases.HostApp/Issues/Issue24966.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/Issue27229.xaml: Language not supported
  • src/Controls/tests/TestCases.HostApp/Issues/Issue24966.xaml.cs: Evaluated as low risk
  • src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue24966.cs: Evaluated as low risk
@jsuarezruiz jsuarezruiz self-requested a review January 23, 2025 15:14
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So on windows seems it does t actually center, per screenshot added. So it was like that in the past right?

@PureWeen
Copy link
Member Author

PureWeen commented Jan 23, 2025

So on windows seems it does t actually center, per screenshot added. So it was like that in the past right?

yea, we have a tracking issue here

I deleted the image and commented out the WinUI Test

@PureWeen
Copy link
Member Author

/backport to release/9.0.1xx-sr3

Copy link
Contributor

Started backporting to release/9.0.1xx-sr3: https://github.com/dotnet/maui/actions/runs/12938420967

@github-actions github-actions bot locked and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
Status: Done
3 participants