Maui icon indicating copy to clipboard operation
Maui copied to clipboard

[BUG] Snackbar background color light in dark mode on Android 14

Open kofanov opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

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

  • [X] I have read the "Reporting a bug" section on Contributing file: https://github.com/CommunityToolkit/Maui/blob/main/CONTRIBUTING.md#reporting-a-bug

Current Behavior

I'm setting BackgroundColor = Colors.Black and TextColor = Colors.White in SnackbarOptions On Android 13 background color appears black, but on Android 14 it is light gray.

Expected Behavior

Display Background color as set

Steps To Reproduce

await Current.MainPage.DisplaySnackbar("Text", null, "OK", TimeSpan.FromSeconds(5), new SnackbarOptions { BackgroundColor = Colors.Black, TextColor = Colors.White });

Link to public reproduction project repository

none

Environment

- .NET MAUI CommunityToolkit: 9.0.1
- OS: Android 14 (API 34)
- .NET MAUI: 8.0.60

Anything else?

No response

kofanov avatar Jun 25 '24 13:06 kofanov

Hi @kofanov. We have added the "needs reproduction" label to this issue, which indicates that we cannot take further action. This issue will be closed automatically in 5 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 3 days. It will be closed if no further activity occurs within 2 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

We haven't received a reproduction sample from you. The issue is closed.

I can confirm, this issue still exists

dainius-r avatar Oct 25 '24 21:10 dainius-r