RocketChat / RocketChat/Rocket.Chat

The right hand conversation/message view scroll position is sticky when switching channels

Open
#27,588 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When moving from one channel to another using the web interface, the scroll in the message pane does not reset to the most current message. The scroll position appears to remain "sticky" until it is pulled down to the current message. This behavior is not desirable especially if going from a channel with a few messages to one that has hundreds or thousands. Default behavior should be that the message pane resets to focus on most current message (or unread message) when moving to a different channel.

Behavior observed with RocketChat Server version 5.3.0 with both Chrome and Firefox browsers on Ubuntu (both 20.04 and 22.04).

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

Reproduce the issue in the web interface by switching between channels with different message counts, using the Chrome or Firefox scenarios described. Trace the message-pane handling during channel changes; done means the pane focuses on the current or unread message instead of retaining the previous channel's scroll position.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.