Description
On iOS and MacCatalyst, if you set the BackgroundColor of a SearchBar to Transparent, the background goes black. This only seems to occur if you change it or set it explicitly and not with the default value.
Does not occur on Windows or Android.
Steps to Reproduce
- Create a new .NET MAUI app
- Add a
SearchBar
- Explicitly set the
BackgroundColor property of the SearchBar to Transparent, or change it to Transparent at runtime
- Observe the black background
Link to public reproduction project repository
https://github.com/matt-goldman/MauiTransparentBackgroundBug
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
macOS 13.0.1, iOS 14 (not tested on other versions)
Did you find any workaround?
No response
Relevant log output
No response
Description
On iOS and MacCatalyst, if you set the
BackgroundColorof aSearchBartoTransparent, the background goes black. This only seems to occur if you change it or set it explicitly and not with the default value.Does not occur on Windows or Android.
Steps to Reproduce
SearchBarBackgroundColorproperty of theSearchBartoTransparent, or change it toTransparentat runtimeLink to public reproduction project repository
https://github.com/matt-goldman/MauiTransparentBackgroundBug
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, macOS
Affected platform versions
macOS 13.0.1, iOS 14 (not tested on other versions)
Did you find any workaround?
No response
Relevant log output
No response