-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[iOS] SearchBar placeholder color is not updating on theme change - fix #30597
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
Conversation
|
Hey there @@kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
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.
Pull Request Overview
This PR fixes the iOS SearchBar so that its placeholder color properly updates when the app’s theme changes by refactoring how the attributed placeholder is generated.
- Replace the old null-coalescing and multiple
NSAttributedStringcalls with pattern matching onPlaceholderColor - Use the platform’s default placeholder color (
ColorExtensions.PlaceholderColor) as a direct UIColor fallback - Streamline the attributed placeholder assignment while preserving character spacing
9fa97f2 to
b14765b
Compare
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
| { | ||
| App.WaitForElement("changeThemeButton"); | ||
| App.Tap("changeThemeButton"); | ||
| VerifyScreenshot(); |
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.
Pending snapshot, running a build.
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/rebase |
c800aff to
c32c474
Compare
|
Azure Pipelines successfully started running 1 pipeline(s). |
Added a UI Test Update Issue30597.cs Update SearchBarExtensions.cs Added snapshots
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!
Description of Change
Screen.Recording.2025-07-13.at.17.06.53.mov
Screen.Recording.2025-07-13.at.17.04.48.mov
Issues Fixed
Fixes #30596