fuselage icon indicating copy to clipboard operation
fuselage copied to clipboard

Avatar : Avatar should have a Fallback Image

Open aditya-mitra opened this issue 5 years ago • 1 comments

Description

Related to Rocket.Chat #20556 .

Avatars are being used in Default Attachments(which are in turn used as Embeds). They show broken image once the provided image url fails to load

Steps to reproduce

I have linked this CodeSandbox URL for easier reproduction.

Edit Avatar Broken Image - RocketChat

  • Use the Avatar Component
  • Put an incorrect url as props to this Component

Insert an image/gif

local

image

aditya-mitra avatar Feb 06 '21 06:02 aditya-mitra