-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Custom Emojis are cropped instead of scaled. #9643
Copy link
Copy link
Closed
Description
Description:
When adding custom emojis of varying widths/heights the image is cropped in the message pain as well as selection.
Server Setup Information:
- Version of Rocket.Chat Server: 0.60.4
- Operating System: Windows 10
- Deployment Method(snap/docker/tar/etc): docker
- Number of Running Instances: 1
- DB Replicaset Oplog:
- Node Version:
Steps to Reproduce:
- Add Custom Emoji. - I.E. try with this image: https://www.google.com/search?q=meme&source=lnms&tbm=isch&sa=X&ved=0ahUKEwjVzuaG69zWAhXk4IMKHTg5DRsQ_AUICigB&biw=1050&bih=643#imgrc=j_PXxZSMSZSELM:
- Try to use in chat.
- Notice top and bottom are cropped.
Expected behavior:
The image should be scaled but should maintain aspect ratio. The entire image should be seen.
Actual behavior:
The image is cropped.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

