-
Notifications
You must be signed in to change notification settings - Fork 47
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
[MVUX/CSM] Resources don't update after changing Fluent Theme manually #2429
Comments
@kazo0 to verify if it is a duplicate: https://github.com/unoplatform/uno.csharpmarkup/issues/716 |
@agneszitte yes this is the same issue as https://github.com/unoplatform/uno.csharpmarkup/issues/716 |
To work around this issue, you can create a |
Workaround similar to microsoft/microsoft-ui-xaml#9464 (comment) |
Changing the theme manually with a ToggleSwitch inside the app results in the app not updating its background on Windows and on other platforms, the color is too dark when in DarkTheme.
Tested on my side on
"Uno.Sdk": "5.2.175"
Repro with my notes: https://github.com/morning4coffe-dev/uno-platform-testing/tree/bug/mvux-csm-fluent-theme-resource-update
Then testing the same case in XAML+MVVM project, I am not able to repro this issue.
Originally posted by @kucint in unoplatform/uno#17487:
Changing Theme to dark and back to light works fine on
Desktop
.On
Windows
, controls seem to react correctly on change, except the main frame background which stays always light.Model:
Note
Latest dev branch used:
"Uno.Sdk": "5.4.0-dev.99"
The text was updated successfully, but these errors were encountered: