Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Restore ability to display header, footer, and empty view simultaneously #13247

Merged
merged 5 commits into from
Dec 31, 2020

Conversation

hartez
Copy link
Contributor

@hartez hartez commented Dec 29, 2020

Description of Change

Somewhere along the way the CollectionView's EmptyView on iOS regressed and no longer could display the header, footer, and EmptyView at the same time (the EmptyView would sit on top of the header, obscuring it).

These changes undo the changes which caused the regression and fix the problem a different way, leaving the EmptyView and Header intact.

No automated test for the regression here, because it's already included in #13032.

Issues Resolved

API Changes

None

Platforms Affected

  • iOS

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Control Gallery -> Issue 8326; the header, footer, and empty view should all be visible when the test loads.
Control Gallery -> CollectionView Gallery -> EmptyView Gallery -> EmptyView RTL; the empty view text should only shift alignment when the page is set to RTL, rather than horizontally flipping the text (see #12892).

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@hartez hartez added p/iOS 🍎 i/regression blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. a/collectionview labels Dec 29, 2020
Copy link
Contributor

@PureWeen PureWeen left a comment

Choose a reason for hiding this comment

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

  1. If you set the drop down to RTL before triggering the Empty View then the text is flipped
  • Open Empty View RTL Gallery
  • Set Drop down to RTL
  • Enter in a filter that causes empty view to show
  • Text is flipped horizontally

image

  1. The footer view renderers differently on iOS vs Android ([Bug] CollectionView Footer rendering different on android vs iOS #13252)

image

@PureWeen PureWeen added this to the 5.0.0 milestone Dec 30, 2020
@PureWeen PureWeen added this to To do in vNext+1 (5.0.0) via automation Dec 30, 2020
@PureWeen PureWeen moved this from To do to In Review in vNext+1 (5.0.0) Dec 30, 2020
@hartez
Copy link
Contributor Author

hartez commented Dec 31, 2020

iOS 13 test failure is not related to these changes.

@hartez hartez removed the request for review from jsuarezruiz December 31, 2020 00:06
@rmarinho rmarinho merged commit 324b426 into 5.0.0 Dec 31, 2020
vNext+1 (5.0.0) automation moved this from In Review to Done Dec 31, 2020
@rmarinho rmarinho deleted the double-emptyview branch December 31, 2020 14:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/collectionview blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. i/regression p/iOS 🍎 t/bug 🐛
Projects
No open projects
4 participants