RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
1.99k stars 1.16k forks source link

Freeze with images with strikethrough in their description #5634

Closed Gummikavalier closed 6 months ago

Gummikavalier commented 6 months ago

Description:

RC mobile native client freezes when the uploaded image description contains ~strikethrough~

Environment Information:

Steps to reproduce:

  1. Upload a picture to a channel (png or jpg) with a browser client
  2. In the description message of the picture type: Test message containing ~strikethrough~
  3. Check the message using an RC mobile app

Expected behavior:

The message is rendered correctly and the app operates normally.

Actual behavior:

The app freezes. You can still scroll on the channel, but the message causing the freeze is not rendered.

Additional context:

When you remove ~strikethrough~ from the message, the app operates normally. You may have to clear up the app's cache first.

Gummikavalier commented 6 months ago

Closing this one as fixed in RC mobile app version 4.47.2.59389