Skip to content

Text entry border disappear when changing to/from dark mode in Android #15524

Open
@webwarrior-ws

Description

@webwarrior-ws

Description

If dark theme is enabled or disabled when application is running, border around text entry widgets (Entry, TextEditor, Picker) disappears. More specifically, it doesn't update its color on theme change so it blends with the background.
This is true for both light -> dark and dark -> light changes.

Light -> dark:

Capture_entry_border_light
Capture_entry_border_dark


Dark -> Light:

Capture_entry_border_dark_2
Capture_entry_border_light_2

Steps to Reproduce

  1. Create a Maui app with Entry elements.
  2. Launch app on Android
  3. While app is running, switch dark theme on (if it was off) or off (if it was on)

Expected behavior:

Text entry border remains visible.

Actual behavior:

Text entry border is not visible.

Link to public reproduction project repository

https://github.com/webwarrior-ws/SampleMauiAppWithEntry

Version with bug

7.0.49

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

any?

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions