[MAUI]I1_Layout - The layout of the Item is not in the same horizontal position when the 'UpdateColumns' button is clicked multiple times. #23696
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
csi-new
p/2
Work that is important, but is currently not scheduled for release
platform/iOS 🍎
platform/macOS 🍏
macOS / Mac Catalyst
s/triaged
Issue has been reviewed
t/bug
Something isn't working
Milestone
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:
![ew](https://private-user-images.githubusercontent.com/86938401/350256055-369cd99e-ed18-4fea-a9eb-5238c924c724.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3OTExNjUsIm5iZiI6MTcyNDc5MDg2NSwicGF0aCI6Ii84NjkzODQwMS8zNTAyNTYwNTUtMzY5Y2Q5OWUtZWQxOC00ZmVhLWE5ZWItNTIzOGM5MjRjNzI0LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDIwMzQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThiZTM4ZGQwYjgzOWQ3MzU0MDM5NGVmZDZlYWVkNGUzZDIwMWUyYjQyMDQxMzBmMDYxNDBmODJiOWZiMzUzZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.wvE0HnPUTP3luqNzKfB91k1MWuvlIH-6gBTZ7686UY0)
The layout of the Item is not in the same horizontal position when the 'UpdateColumns' button is clicked multiple times.
Expected Behavior:
![q1212](https://private-user-images.githubusercontent.com/86938401/350261832-cd261eb6-a128-451a-b794-8055da5fe19e.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3OTExNjUsIm5iZiI6MTcyNDc5MDg2NSwicGF0aCI6Ii84NjkzODQwMS8zNTAyNjE4MzItY2QyNjFlYjYtYTEyOC00NTFhLWI3OTQtODA1NWRhNWZlMTllLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDIwMzQyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJjNzM0Mzg1ZDQ3OTczMzAxMzNjNzAwMDRjNTM2OTZlZGMyZDYwNzAxZThhMTExMWE4M2MwNjJjZjEyY2U2MTMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rLmoqMP5YIoF_QHJUBq8566JlWVpRerG7CsJgGkc8Ow)
Click the 'UpdateColumns' button and the Item layout will not be out of place.
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
The text was updated successfully, but these errors were encountered: