When using the -Icon and -IconColor parameters on the Show-UDToast cmdlet, the icons do not appear as part of the toast. The toast element appears to make the space for the icon, but does not actually display an icon.
To Reproduce
Steps to reproduce the behavior:
Call the Show-UDToast cmdlet and use the -Icon (and, optionally, -IconColor) parameter(s)
Expected behavior
The toast message shows an icon in the message
Screenshots
Script Sample
$Dashboard = New-UDDashboard -Title "Toast Icon Issue Demo" -Content {
New-UDButton -Text "Click me to show a toast!" -OnClick {
Show-UDToast -Message "Success!" -Icon check_circle -IconColor green -Duration 10000
}
}
Start-UDDashboard -Dashboard $Dashboard -Port 10001
Version Information
Operating System: Windows 10 Pro v1803 (build 17134.1069)
PowerShell Version: 5.1.17134.858
Universal Dashboard Version: 2.7.0
UD Hosting Method: PowerShell
Additional context
It looks like UD is generating the correct HTML and applying the styles for the icon successfully, it's just not displaying:
Describe the Issue
When using the
-Icon
and-IconColor
parameters on theShow-UDToast
cmdlet, the icons do not appear as part of the toast. The toast element appears to make the space for the icon, but does not actually display an icon.To Reproduce
Steps to reproduce the behavior:
Call the
Show-UDToast
cmdlet and use the-Icon
(and, optionally,-IconColor
) parameter(s)Expected behavior
The toast message shows an icon in the message
Screenshots
Script Sample
Version Information
Additional context
It looks like UD is generating the correct HTML and applying the styles for the icon successfully, it's just not displaying:
I am using Chrome v78.0.3904.97