[regression/8.0.0-preview.4.8333] [WinUI] Incorrect size of first item with Border in CollectionView #18128
Labels
area-controls-collectionview
CollectionView, CarouselView, IndicatorView
fixed-in-8.0.10
fixed-in-8.0.100-rc.2.9530
Look for this fix in 8.0.100-rc.2.9530
i/regression
This issue described a confirmed regression on a currently supported version
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
The first item of CollectionView has another width than all elements inside of Border.

<CollectionView.ItemTemplate> <DataTemplate> <Grid Padding="10"> <Border> <VerticalStackLayout BackgroundColor="Aqua">
Steps to Reproduce
Navigate to the page.
Link to public reproduction project repository
https://github.com/sasharp/MAUI8Bugs
Version with bug
8.0.0-preview.4.8333
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.0-preview.3.8149
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
The width will be correct when window is resized.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: