dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.24k stars 1.76k forks source link

[Windows]The border color of the input controls does not update when the theme changes. #24923

Open Ahamed-Ali opened 1 month ago

Ahamed-Ali commented 1 month ago

Description

Input controls such as Entry, Editor, DatePicker, TimePicker and Picker does not change the border color based on the theme changes.

Expected behavior : The border color should change based on theme changes.

Actual behavior The border color does not change based on theme changes.

https://github.com/user-attachments/assets/692550c3-2331-448a-aea2-1d201499b384

Steps to Reproduce

1.Open the maui app through the given repo. 2.deploy the app and click the ChangeTheme button. 3.you can observe that the border color does not changed based on the theme

Link to public reproduction project repository

https://github.com/Ahamed-Ali/ThemeAppWindow

Version with bug

Unknown/Other

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows 10

Did you find any workaround?

No

Relevant log output

No response

ninachen03 commented 1 month ago

This issue has been verified using Visual Studio 17.12.0 Preview 2.0(8.0.91 & 8.0.3). Can repro this issue at windows platform.