Skip to content

Commit

Permalink
fix: set emoji image draggable attribute to false
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Gira committed Sep 20, 2023
1 parent 4845430 commit ff03392
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ const EmojiImg: FC<EmojiImgProps> = ({emojiUrl, styles, emojiName, emojiImgSize
return (
<>
<img
src={emojiUrl}
alt={emojiName}
loading="eager"
css={{...emojiImgSize, ...messageReactionEmoji, ...styles}}
aria-hidden={true}
css={{...emojiImgSize, ...messageReactionEmoji, ...styles}}
draggable="false"
loading="eager"
src={emojiUrl}
/>
</>
);
Expand Down

0 comments on commit ff03392

Please sign in to comment.