Open kevinxufei opened 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!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Description
Updating the vertical and horizontal spacing, the part of layout will change.
Affected case: Vertical grid (HorizontalItemSpacing and VerticalItemSpacing) Horizontal grid (HorizontalItemSpacing and VerticalItemSpacing)
Note: 1.Swipe right (Horizontal grid) or scroll down (Vertical grid) to return the layout to normal. 2.The issue occurs when the maccatalyst window is displayed smaller (recorded below).
Steps to Reproduce
1.Deploy https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests to iOS/Maccatalyst. 2.Navigate to 'I CollectionView' -> 'I2_Spacing' -> 'Horizontal grid for HorizontalItemSpacing and VerticalItemSpacing'. 3.Updating the vertical and horizontal spacing, the layout of the second column will change
Actual Behavior: Updating the vertical and horizontal spacing, the part of layout will change. iOS: Vertical grid (HorizontalItemSpacing and VerticalItemSpacing):
Horizontal grid (HorizontalItemSpacing and VerticalItemSpacing):
Maccatalyst:
![q3](https://github.com/dotnet/maui/assets/86938401/47b410b8-53f8-499a-a292-0fbe5b95bcc2)
Expected Behavior: Updating the vertical & horizontal spacing values. The spacing is changed, but the layout remains unchanged.![image](https://github.com/dotnet/maui/assets/86938401/29b4a78c-2730-4cd2-9ceb-26f6a28a105c)
Link to public reproduction project repository
https://devdiv.visualstudio.com/Pkgs/_git/VS.TestAssets.Xaml?path=/Assets/Projects/ManualMauiTests
Version with bug
Microsoft.Maui.Controls 8.0.70-ci.net8.24326.4
Is this a regression from previous behavior?
Not a regression, The issue also repro on 8.0.61& 8.0.3
Affected platforms
iOS, macOS