dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.98k stars 1.71k forks source link

[MAUI] I2_Spacing - Updating the vertical list spacing value will cause the CollectionView spacing to change as well. #23297

Open RoiChen001 opened 2 months ago

RoiChen001 commented 2 months ago

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. Vertical list

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

github-actions[bot] commented 2 months ago

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:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.