-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Android, iOS, MacOS] Fixed Entry ClearButton Color Not Updating on AppThemeBinding Change #30817
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
base: main
Are you sure you want to change the base?
Conversation
Hey there @@NanthiniMahalingam! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run MAUI-UITests-public |
Azure Pipelines successfully started running 1 pipeline(s). |
if (handler is EntryHandler platformHandler && platformHandler._clearButtonVisible) | ||
{ | ||
// Update the clear button color to match the text color | ||
handler.PlatformView?.UpdateClearButtonColor(entry.TextColor, platformHandler.GetClearButtonDrawable()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is not changes in Windows, there behavior is currently aligned with this changes? should we apply changes on Windows too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is not changes in Windows, there behavior is currently aligned with this changes? should we apply changes on Windows too?
Hi @jsuarezruiz ,
On Windows platform, the clear button icon color updates correctly when the theme changes, as handled in the TextBoxExtensions.cs.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Issue Details
Root cause
Description of Change
Validated the behaviour in the following platforms
Issues Fixed
Fixes #19997
Output images
Android
Before_Android.mov
After_Android.mov
iOS
Before_iOS.mov
After_iOS.mov
macOS
Before_macOS.mov
After_macOS.mov