Skip to content

[BUG] Snackbar + UseMaterial3 overrides BackgroundColor [Android/Material3] #3307

Closed

Description

@crwsolutions

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

Background is light-purple-ish-gray and not DarkOrange

Expected Behavior

DarkOrange background

Steps To Reproduce

Create a new project

dotnet new maui -n SnackbarProblem

Replace the OnCounterClicked with the following

private void OnCounterClicked(object? sender, EventArgs e)
{
    Snackbar.Make(
        "Hello, World!",
        null,
        "OK",
        TimeSpan.FromSeconds(7),
        new SnackbarOptions
        {
            BackgroundColor = Color.FromRgb(255, 140, 0), // DarkOrange
            TextColor = Colors.White,
            ActionButtonTextColor = Colors.White,
            CornerRadius = 8,
            Font = Microsoft.Maui.Font.SystemFontOfSize(14)
        }).Show();
}

Run and click the button

Image

Background is DarkOrange as expected. So far so good.

Now enable Material3:

		<!-- Enable Material 3 design on Android -->
		<UseMaterial3>true</UseMaterial3>

And run and click the button

Image

Background is light-purple-ish-gray and not DarkOrange anymore which is the problem.

Link to public reproduction project repository

na

Environment

<ItemGroup>
		<PackageReference Include="CommunityToolkit.Maui" Version="15.0.1" />
		<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.101" />
	</ItemGroup>


OS: Android / Material3

Anything else?

No response

Activity

  1. MichaelShapiro commented on Sep 11, 2026

    @MichaelShapiro

    I've noticed the same issue a while ago. Thanks for reporting.

  2. dotnet-policy-service commented on Sep 13, 2026

    @dotnet-policy-service
    Contributor

    Hi @@crwsolutions! We have added the needs reproduction label to this issue, which indicates that we are unable to take further action until you provide a reproduction sample that we can use to reproduce + fix your bug. In accordance with the Reporting a bug section of our Contributing.md that you confirmed reading before you submitted this Issue, we ask that every Issue author provide a link to an open-source repository containing the reproduction sample app. This issue will be closed automatically in 5 days if we do not receive a reproduction sample from you. Please feel free to re-open this Issue once you have provided a reproduction sample.

  3. crwsolutions commented on Sep 14, 2026

    @crwsolutions
    Author

    If my 'Steps to Reproduce' do not provide sufficient evidence of the problem, you can start the app (src/BluOsNadRemote.App) from this branch:

    https://github.com/crwsolutions/BluOsNadRemote/tree/feature/material3

    Build the app for Android and navigate to the 'Advanced' tab. You should see the problem there as well.

  4. pasha-o commented on Sep 17, 2026

    @pasha-o

    This is the original issue reported here: dotnet/maui#35712 (comment)
    Is there any update on this?

  5. added a commit that references this issue on Oct 16, 2026
    3f57379
  6. locked and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions