This repository was archived by the owner on May 1, 2024. It is now read-only.
[Bug] iOS only - ToolbarItem color displays incorrectly when using FontImageSource for icon, and Color is set to White or Black #15048
Labels
Description
The color of a ToolbarItem displays incorrectly when the IconImageSource is a FontImageSource and the Color property is set to White
#ffffff
(for dark mode) or Black#000000
(for light mode). ANY other color displays correctly.Steps to Reproduce
Expected Behavior
The icon should be "Black" in Light mode.
The icon should be "White" in Dark mode.
Actual Behavior
The icon is "SystemBlue" instead of the expected color.
Basic Information
Version with issue: 5.0.0.2291
Last known good version:
Platform Target Frameworks:
Affected Devices: iPhone 11
Environment
Show/Hide Visual Studio info
Build Logs
Screenshots
Mode = Light, Color = Black, Result = Blue icon (INCORRECT)

Mode = Dark, Color = White, Result = Blue icon (INCORRECT)

Mode = Dark, Color = Yellow, Result = Yellow icon (CORRECT)

Mode = Light, Color = Orange, Result = Orange icon (CORRECT)

Reproduction Link
navbar.zip
Workaround
We can work around the issue by making the color
"#000001"
for Dark Mode, and"#fffffe"
for Light Mode. These are colors very similar to White/Black without the user noticing a difference.The text was updated successfully, but these errors were encountered: