Skip to content

2 GIFs in one single message #1883

Closed

Description

@cengizhanhakan

Describe the bug
There are 2 gifs appearing in one message. And its causing a problem with the MessageSimple component. The second image breaks out of the container and chat becomes unusable.

Dev environment info (please complete/provide the following information):

  • Package version (stream-chat-react-native/stream-chat-expo): stream-chat-react-native@4.14.0
  • react-native or expo version : 0.66.3 / no expo
  • Device/Emulator (android/ios) and OS version: iOS 16.2 iPhone 12 Simulator - iPhone 13 Mini ios 16.2

To Reproduce
Steps to reproduce the behavior:

  1. Send a giphy from your web app
  2. Open it on your react native app

Expected behavior
Second gif shouldn't appear or it should appear inside of the container.

Additional context
message.text = ![Some GIF](https://media.giphy.com/media/dkGhBWE3SyzXW/giphy.gif){'\n'}

Screenshots
image
image

Activity

  1. added
    BugSomething isn't working in the SDK
    on Jan 2, 2023
  2. vishalnarkhede commented on Jan 19, 2023

    @vishalnarkhede
    Contributor

    🎉 This issue has been resolved in version 5.8.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working in the SDKNeeds Triaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions