-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[iOS] Fix for ItemSpacing not properly applied between the item and group header in CollectionView Horizontal LinearItemsLayout #25882
Conversation
Hey there @Tamilarasan-Paranthaman! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
@@ -0,0 +1,25 @@ | |||
#if !MACCATALYST |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why avoid Catalyst?, is crashing?
For now, this test will not do much on macOS because the VerifyScreenshot
is not yet implemented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since VerifyScreenshot
was not implemented on Mac, I had previously restricted it. I have now removed that restriction
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this work with CollectionView2 ?
@rmarinho, No, it will not work. In CollectionView2, the issue was slightly different: I have attached an image showing the post-fix state of
Note: I have set the background color of the CollectionView to gray to make the differences more visually noticeable. The gray areas between the items in the image represent the spacing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we create a new issue, or leave #25859 open to fix this on CollectionView2
I implemented a fix for the CV VerticalSpacing issue to address a test case failure. However, since the same changes were recently merged. I have reverted my changes. PR => dotnet#25882
* Fixed-CollectionView-Size-Rendering-Issue * Resolved-LastSection-ItemsSpacing-Issue * Reverted-Changes. I implemented a fix for the CV VerticalSpacing issue to address a test case failure. However, since the same changes were recently merged. I have reverted my changes. PR => #25882 * Revert "Reverted-Changes." This reverts commit 47e9893. * Revert "Resolved-LastSection-ItemsSpacing-Issue" This reverts commit 0e5aabf. * Updated-Header-Footer-iOS-SnapShot --------- Co-authored-by: prakashKannanSf3972 <127308739+prakashKannanSf3972@users.noreply.github.com>
Root Cause of the issue
Description of Change
Issues Fixed
Fixes #25859
Tested the behaviour in the following platforms
Screenshot
1. LinearItemsLayout - Orientation="Horizontal"
2. LinearItemsLayout - Orientation="Vertical"