maui
maui copied to clipboard
DatePicker not respecting UserAppTheme
Description
DatePickerdoes not respect theUserAppThemeand still changes style if user goes to dark theme.
Steps to Reproduce
- Set
UserAppTheme = AppTheme.Light - Create a
DatePicker - Start with dark theme
DatePickerdisplays using the dark theme instead of the light one.
Link to public reproduction project repository
No response
Version with bug
8.0.14 SR3.1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
Same here on both IOS and Android. When creating a new Maui app and setting the UserAppTheme to Light and my device OS theme to dark, the OS components: datepicker, keyboard, etc. will be displayed in the OS theme, in this case dark.
Verified on VS 17.10.0 Preview 3.0(8.0.20). Repro on Android 14.0-API34 and iOS 17.2 with below Project:
@hayer @Lightnerr @XamlTest does this work on 8.0.7 of MAUI?
Hi @hayer. We have added the "s/needs-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 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.
@hayer @Lightnerr @XamlTest does this work on 8.0.7 of MAUI?
Im using the following versions, where it is still broken.
Installed Workload Id Manifest Version Installation Source
android 34.0.95/8.0.100 SDK 8.0.200, VS 17.9.34723.18 ios 17.2.8053/8.0.100 SDK 8.0.200, VS 17.9.34723.18 maui 8.0.7/8.0.100 SDK 8.0.200 wasm-tools-net7 8.0.4/8.0.100 VS 17.9.34723.18 maccatalyst 17.2.8053/8.0.100 VS 17.9.34723.18 maui-windows 8.0.7/8.0.100 VS 17.9.34723.18
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 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.