RocketChat / RocketChat/Rocket.Chat

fix: user profile card moves to top left when scrolling thread messages in website frontend

Open
#41,668 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Bug: in website frontend in thread reply where a scroll is available, clicking on profile image to open User Profile card and then scrolling the thread messages resets the profile card and moves it to top left of the screen.

Steps to reproduce:
  1. create new channel in website frontend
  2. send multiple messages until scroll bar appears.
  3. then click on reply in thread in last message and open thread.
  4. in the thread send multiple messages until scroll appears.
  5. click on profile image, profile card will popup.
  6. now scroll in thread again.
Expected behavior:

The profile card should close when scrolling thread messages.

Actual behavior:

the profile card moves to top left of the screen.

Image
Before Fix:

https://github.com/user-attachments/assets/8df851c6-eb9f-459a-845b-785324ee11ca

After Fix:

https://github.com/user-attachments/assets/1c626884-4325-4133-b2b1-14139c4f20ce

Server Setup Information:
  • Version of Rocket.Chat Server: 8.8.0-develop
  • License Type: Free
  • Number of Users: 1
  • Operating System: linux
  • Deployment Method: local development
  • Number of Running Instances: 1
  • DB Replicaset Oplog: N/A
  • NodeJS Version: 22.22.1 - x64
  • MongoDB Version: 7.0.16
Client Setup Information
  • Desktop App or Browser Version: Chrome ( version: 150.0.7871.187 )
  • Operating System: Windows / WSL
Additional context
Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue in the website frontend by opening a thread, showing a user profile card, and scrolling its messages; then trace the thread scroll and profile-card behavior. Done means scrolling closes the card instead of moving it to the top-left of the screen.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.