[MAUI] I2_Spacing - Updating the vertical list spacing value will cause the CollectionView spacing to change as well.
Description
Updating the vertical list spacing value will cause the CollectionView spacing to change as well.
Steps to Reproduce
1.Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to Android. 2.Click 'I2'->Vertical list Items pacing. 3.Enter a value. 4.Click the back button in the upper left corner until you return to the Collectionview page.
Actual result:
You can see that the CollectionView spacing to change as well.
Expected result: Updating the value of vertical list spacing will not change the spacing of CollectionView page.
Link to public reproduction project repository
https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=%2FAssets%2FProjects%2FManualMauiTests
Version with bug
Microsoft.Maui.Controls 8.0.70-ci.net8.24325.2.
Is this a regression from previous behavior?
Not a regression, the issue also reproduces on 8.0.61& 8.0.3.
Affected platforms
iOS, Android, Windows, macOS
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- [Android] Crash updating the ItemSpacing at runtime (#22187), similarity score: 0.77
- [MacCatalyst] [Scenario Day] CollectionView Spacing not working using horizontal grid layout (#7263), similarity score: 0.72
- [Android] ItemSpacing degrades scrolling performance of CollectionView (#13946), similarity score: 0.72
Closed similar issues:
- [Windows] CollectionView ItemSpacing is not working (#4112), similarity score: 0.75
- CollectionView with ItemSpacing => Infinite layout loop Android (#21379), similarity score: 0.74
Note: You can give me feedback by thumbs upping or thumbs downing this comment.