Skip to content

Big design issue when upgrading from .NET MAUI 10 Preview 5 to Preview 6 #31110

@dmm-l-mediehus

Description

@dmm-l-mediehus

Description

Upgrading Nuget package of 'Microsoft.Maui.Controls' from 10.0.0-preview.5.25306.5 to 10.0.0-preview.6.25359.8 gives me a lot of design issues in my whole app that uses CollectionView with TemplateSelectors.

Video demonstration:
Microsoft.Maui.Controls with Version 10.0.0-preview.5.25306.5 (Design working fine, looks good):
https://github.com/user-attachments/assets/f06eaaf8-bcd3-47fb-99d4-140b1d7f0a81

Microsoft.Maui.Controls with Version 10.0.0-preview.6.25359.8 (Design breaks):
https://github.com/user-attachments/assets/d4df1656-f82c-44d1-a7d2-a49d5b8156fd

<CollectionView Grid.Row="1" ItemsSource="{Binding MainPageItems}" ItemTemplate="{StaticResource MainPageTemplateSelector}">
    <CollectionView.EmptyView>
        <StackLayout HorizontalOptions="Center" Margin="10">
            <ActivityIndicator IsRunning="True" IsVisible="True" Color="{StaticResource Primary}" WidthRequest="60" HeightRequest="60" />
        </StackLayout>
    </CollectionView.EmptyView>
</CollectionView>

I even tried running 'dotnet workload update', but issue persists.

Steps to Reproduce

  1. Upgrade 'Microsoft.Maui.Controls' from 10.0.0-preview.5.25306.5 to 10.0.0-preview.6.25359.8

Link to public reproduction project repository

No response

Version with bug

10.0.0-preview.6

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

10.0.0-preview.5

Affected platforms

Android

Affected platform versions

Android 15

Did you find any workaround?

Downgrade Microsoft.Maui.Controls to 10.0.0-preview.5.25306.5

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    potential-regressionThis issue described a possible regression on a currently supported version., verification pendingregressed-in-10-preview6s/needs-reproAttach a solution or code which reproduces the issuet/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions