RocketChat / RocketChat/Rocket.Chat.ReactNative

Incorrect image display when using the embed code ![Text](Link.png)

Open
#5,355 6 comments 0 reactions 1 assignee View on GitHub

@reinaldonetof is already working on this.

Since Nov 21, 2023.

Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

Hello.

When using the embed code ![Text](http://example.net/image.png) on the mobile version, an incorrect image display was noticed, the image is displayed twice, as well as with a violation of the proportions of the image

Environment Information:
  • Rocket.Chat Server Version: 6.4.6
  • Rocket.Chat App Version: 1.41.0-alpha.312
  • Device Name: any devices
  • OS Version: any OS
Steps to reproduce:
  1. Create a message with an embed code ![Text](http://example.net/image.png)
  2. Viewing a message from a mobile device
Expected behavior:

Correct display of the image without loss of proportions, the image is displayed once

Actual behavior:

Images, the image is displayed twice, and also with a violation of the proportions of the image

Screenshot

1000002523

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.