[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.
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.
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). |
rmarinho
left a comment
There was a problem hiding this comment.
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. |
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"