Skip to content

Incorrect render order for quoted messages #1094

@Khizarshah01

Description

@Khizarshah01

Quoted message text renders before quote UI, causing confusing message sequence

While reviewing the quote message flow, I noticed a UI inconsistency in how quoted messages are rendered.

Currently, when a message is quoted, the message text is rendered before the quote UI block, which can be confusing when multiple messages from the same user appear in sequence.

In the official Rocket.Chat app, the quote UI is rendered first, followed by the message text, resulting in a clearer and more intuitive message flow.

Steps to reproduce:

  1. Send a message with some text.
  2. Quote that message.
  3. Send the quoted message.
  4. Observe the rendered output in the message list.

Expected behavior:

The quote UI block should appear first, followed by the message content, maintaining a clear UI and consistent visual hierarchy, similar to how quoting is handled in the Rocket.Chat.

Image

Actual behavior:

The quoted text appears before the quote UI, which makes it look like part of the normal message flow and can be confusing when messages are displayed in sequence from the same user.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions