Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Popup "background tint" does not honor current Theme #2439

Open
2 tasks done
sbloomztf opened this issue Jan 13, 2025 · 0 comments
Open
2 tasks done

[BUG] Popup "background tint" does not honor current Theme #2439

sbloomztf opened this issue Jan 13, 2025 · 0 comments
Labels
bug Something isn't working unverified

Comments

@sbloomztf
Copy link

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

When the Theme is overridden from the "Default App mode" setting in windows, the popup background tint still uses the theme from this "Default App Mode" windows setting, rather than the overridden values in the app.

When a popup is shown, the tint is white\light when the Default App Mode is Light. The tint is black\dark when the Default App Mode is Dark.

"Default App Mode" = Dark
Image

"Default App Mode" = Light

Image

Expected Behavior

The popup background tint should adhere to the overridden values in the app.

Steps To Reproduce

This can be reproduced by adding the following changes in the sample app
Application.Current.UserAppTheme = AppTheme.Dark; in App.xaml.cs constructor
RequestedTheme="Dark" in ../platforms/windows/app.xaml

Link to public reproduction project repository

https://github.com/sbloomztf/Maui.git

Environment

- .NET MAUI CommunityToolkit: 10.x
- OS: Windows 11 10.0.22621 Build 22621
- .NET MAUI: 9.x

Anything else?

No response

@sbloomztf sbloomztf added bug Something isn't working unverified labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

1 participant