RocketChat / RocketChat/Rocket.Chat

[BUG] room list dancing

Open
#24,434 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: ui/ux
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

The list of rooms is dancing, whenever I scroll. Appears on RTL

Steps to reproduce:
  1. scroll with mouse wheel on the room list
Expected behavior:

https://user-images.githubusercontent.com/38321047/152819233-ceb05237-c1a3-45c1-8cc7-0124f85ab075.mov

Actual behavior:

https://user-images.githubusercontent.com/38321047/152819256-eb9d4866-ce0b-451e-80e6-1d3f9fe302be.mov

Server Setup Information:
  • Version of Rocket.Chat Server:
  • Operating System: MacBook Pro 11.1
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
Client Setup Information
  • Desktop App or Browser Version: google chrome 97.0.4692.99
  • Operating System: MacBook Pro 11.1
Additional context

not appear on safari browser and also not on chrome 70

Relevant logs:

Uncaught TypeError: Cannot read properties of null (reading 'getBoundingClientRect')
at modules.js?hash=654ceee7626dd3a14deb5c3742de81b5c5f46cb2:5604:13156
at HTMLDivElement. (modules.js?hash=654ceee7626dd3a14deb5c3742de81b5c5f46cb2:5604:8464)

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 by scrolling the room list in RTL mode with Chrome 97, then use the reported getBoundingClientRect error as the starting point for investigation. Done means the room list no longer moves unexpectedly while scrolling and the null-property error no longer occurs.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.