I am trying to load Terra-Avatar(2.6.0 version) component with Image, hash value and size props.
In case of image load failure, the fall back icon user variant should come up. Instead a Blank circle is coming up. If we dont use Image and initials as props, then the user variant is coming up. But in case of Image Load Failure, User Variant is not coming as fall back icon.



User Variant should come up incase of image load failure.
Not Sure
The icon renders correctly on fallback - the issue is that a color variant is not attached to avatar when an image is specified. The color variant styles control the background-color and box-shadow - the icon appears to be missing because the background-color defaults to white.
The fix is to remove this and always have logic to generate a color variant. This will also need to be done in the Facility variant. I'll issue a PR to address this.
Most helpful comment
The icon renders correctly on fallback - the issue is that a color variant is not attached to avatar when an
imageis specified. The color variant styles control thebackground-colorandbox-shadow- the icon appears to be missing because thebackground-colordefaults to white.The fix is to remove this and always have logic to generate a color variant. This will also need to be done in the
Facilityvariant. I'll issue a PR to address this.