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]I1_Layout - The layout of the Item is not in the same horizontal position when the 'UpdateColumns' button is clicked multiple times. #23696

Open kevinxufei opened 1 month ago

kevinxufei commented 1 month ago

Description

Affected case: I1 - Vertical Grid for Multi Span Layout.

The layout of the Item is not in the same horizontal position when the 'UpdateColumns' button is clicked multiple times.

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' ->'I1 Layout' -> 'Vertical Grid for Multi Span Layout.'. 3 Click the 'UpdateColumns' button more than 3 times, the Item layout is not in the same horizontal position.

Actual Behavior: The layout of the Item is not in the same horizontal position when the 'UpdateColumns' button is clicked multiple times. ew

Expected Behavior: Click the 'UpdateColumns' button and the Item layout will not be out of place. q1212

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.80-ci.net8.24368.3

Is this a regression from previous behavior?

Not a regression, the issue also reproduced on 8.0.70 & 8.0.3.

Affected platforms

iOS, macOS

github-actions[bot] commented 1 month 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.