Skip to content

(BUG) Sending Image/File with description is hidden on iOS upon sent #2276

@hengsok

Description

@hengsok
  • Your Rocket.Chat Experimental app version: ####
    4.8.0
  • Your Rocket.Chat server version: ####
    3.4.1
  • Device (or Simulator) you're running with: ####
    iPhone 11 Pro Max device

As you can see in the picture below, we downloaded the official RocketChat from iOS store with the latest version 4.8.0 and when we upload a new photo with description, the description became hidden below the MessageBox.

We have spent a lot of time trying to debug this and realised that the KeyboardAccessoryView in
app/containers/MessageBox/index.js has a param "requiresSameParentToManageScrollView" and this seems to cause
issue as it modifies the same flatlist that displays the messages in RoomView. Not sure whether resetTracking() is for what purpose but that did not helps in setting the correct content offset for the flatlist that contains the messages.

We also noticed that as long as after we uploaded an image/file and tap on the MessageBox input and even we close the ShareView without uploading any files, the flatlist displaying the messages will have the bottom hidden under the MessageBox.

This bug is introduced after the [NEW] Send multiple attachments (#2162) commit which changes to use MessageBox component.

IMG_2089

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions