Skip to content

[release/9.0.1xx-sr4] [iOS] CollectionView footer sizing when source is empty - fix - #28794

Merged
rmarinho merged 5 commits into
release/9.0.1xx-sr4from
backport/pr-28610-to-release/9.0.1xx-sr4
Apr 4, 2025
Merged

[release/9.0.1xx-sr4] [iOS] CollectionView footer sizing when source is empty - fix#28794
rmarinho merged 5 commits into
release/9.0.1xx-sr4from
backport/pr-28610-to-release/9.0.1xx-sr4

Conversation

@PureWeen

@PureWeen PureWeen commented Apr 3, 2025

Copy link
Copy Markdown
Member

Backport of #28610 to release/9.0.1xx-sr4

/cc @PureWeen @kubaflo

Copilot AI review requested due to automatic review settings April 3, 2025 14:54
@PureWeen
PureWeen requested a review from a team as a code owner April 3, 2025 14:54
@PureWeen
PureWeen requested review from mattleibow and rmarinho and removed request for a team April 3, 2025 14:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR backports the fix for CollectionView footer sizing when the data source is empty to the release branch. The changes include adding new test cases for the issue in both Shared.Tests and HostApp, and updating the header and footer layout logic in the iOS StructuredItemsViewController.

  • Added a new UITest (Issue28580) in Shared.Tests.
  • Introduced a corresponding HostApp page for the issue.
  • Modified header/footer update conditions in StructuredItemsViewController for proper layout.

Reviewed Changes

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

File Description
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue28580.cs New test case to validate footer sizing when the CollectionView is empty
src/Controls/tests/TestCases.HostApp/Issues/Issue28580.xaml.cs New HostApp view to support the UI test for Issue28580
src/Controls/src/Core/Handlers/Items/iOS/StructuredItemsViewController.cs Updated header/footer frame update logic to correctly size the views
Files not reviewed (1)
  • src/Controls/tests/TestCases.HostApp/Issues/Issue28580.xaml: Language not supported

@rmarinho

rmarinho commented Apr 3, 2025

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@github-project-automation github-project-automation Bot moved this from Todo to Approved in MAUI SDK Ongoing Apr 3, 2025
@rmarinho
rmarinho merged commit 6c803cf into release/9.0.1xx-sr4 Apr 4, 2025
@rmarinho
rmarinho deleted the backport/pr-28610-to-release/9.0.1xx-sr4 branch April 4, 2025 09:51
@github-project-automation github-project-automation Bot moved this from Approved to Done in MAUI SDK Ongoing Apr 4, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants