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

DatePicker not respecting UserAppTheme #21858

Closed
hayer opened this issue Apr 16, 2024 · 6 comments · May be fixed by #28256
Closed

DatePicker not respecting UserAppTheme #21858

hayer opened this issue Apr 16, 2024 · 6 comments · May be fixed by #28256
Labels
area-controls-datetimepicker DatePicker, TimePicker platform/iOS 🍎 s/needs-attention Issue has more information and needs another look s/needs-info Issue needs more info from the author s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@hayer
Copy link

hayer commented Apr 16, 2024

Description

  1. DatePicker does not respect the UserAppTheme and still changes style if user goes to dark theme.

Steps to Reproduce

  1. Set UserAppTheme = AppTheme.Light
  2. Create a DatePicker
  3. Start with dark theme
  4. DatePicker displays 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

@hayer hayer added the t/bug Something isn't working label Apr 16, 2024
@dotnet-policy-service dotnet-policy-service bot added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Apr 16, 2024
@PureWeen PureWeen added the s/needs-repro Attach a solution or code which reproduces the issue label Apr 16, 2024
@Lightnerr
Copy link

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.

@dotnet-policy-service dotnet-policy-service bot added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue labels Apr 16, 2024
@XamlTest XamlTest added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Apr 17, 2024
@XamlTest
Copy link

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:

21858.zip

image

@PureWeen
Copy link
Member

@hayer @Lightnerr @XamlTest does this work on 8.0.7 of MAUI?

@PureWeen PureWeen added the s/needs-info Issue needs more info from the author label Apr 23, 2024
Copy link
Contributor

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.

@NiekRossenInfoSupport
Copy link

@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

Copy link
Contributor

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.

@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Apr 30, 2024
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label May 10, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-datetimepicker DatePicker, TimePicker platform/iOS 🍎 s/needs-attention Issue has more information and needs another look s/needs-info Issue needs more info from the author s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants