Open
Description
Description
When changing the theme from dark to light or light to dark, the search bar control does not update according to the theme changes.
For example, after switching from the dark theme to the light theme, the search bar's underline and search icon remain the same color, failing to adjust to the new theme.
A video demonstration is provided below.
SearchBarThemeIssue.mp4
Steps to Reproduce
Please get the below repo to reproduce the issue
Link to public reproduction project repository
https://github.com/Ahamed-Ali/SearchBarTheme
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 11
Did you find any workaround?
No response
Relevant log output
No response