Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

"Jump to Message" does not work in embedded layout

Open dmonn opened this issue 3 years ago • 0 comments

Description:

In RocketChat, a # with the message ID can be appended for the screen to directly jump to a message. This does not work when passing ?layout=embedded

Steps to reproduce:

  1. Go to a direct message of your choice, like https://<your-rocketchat-instance>/direct/<username>
  2. Append a message ID to the URL, such as #<message-id>
  3. See the chat jump to the selected message
  4. Do the same in embedded mode, such as #<message-id>?layout=embedded and see that the chat no longer jumps to the message
  5. Do the same the other way around, such as ?layout=embedded#<message-id> and see that the embedded layout no longer works

Expected behavior:

Embedded layout should mirror the behaviour

Actual behavior:

Different behaviour between the two

Server Setup Information:

  • Version of Rocket.Chat Server: 4.8.2
  • Deployment Method: Docker

Client Setup Information

  • Desktop App or Browser Version: Chrome 103
  • Operating System: macOS

dmonn avatar Aug 09 '22 11:08 dmonn