Skip to content

Reactions are pushed offscreen on large messages with images #1734

@benmechen

Description

@benmechen

Describe the bug
When the message is large, either due to large amounts of text or due to an image, the reactions list is pushed off the top of the screen, and the message actions are pushed off the bottom, making them both inaccessible.
This predominantly affects smaller screen phones, such as the iPhone SE and 8, however is does also affect larger phones if the message is long enough.

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

  • Package version (stream-chat-react-native): 5.2.0
  • react-native or expo version: 0.68.2
  • Device/Emulator (android/ios) and OS version: iPhone SE, iPhone 8, iPhone 11/13

To Reproduce
Steps to reproduce the behavior:

  1. Send a message with a portrait image and a few lines of text
  2. Long press on the message
  3. Message actions and reactions UI is cut off

Expected behavior
All message UI on the long press should be accessible, either by scroll, scaling down image size, or cutting off long text.

Screenshots
Screenshot 2022-09-21 at 15 31 55

Metadata

Metadata

Labels

BugSomething isn't working in the SDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions