element-hq / element-hq/element-web

room switch time is slow on a ~10 page roomlist due to forced layouts in _restoreSavedScrollState

Open
#14,574 14 comments 3 reactions 0 assignees View on GitHub
A-Performance A-Timeline O-Occasional S-Major T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

takes ~1.2s to change room on Riot Nightly.

Contributor guide

Open the contributing guide

Research direction

Start at _restoreSavedScrollState, reproduce the room switch in Riot Nightly with a roughly 10-page room list, and profile the forced layouts involved. Confirm the current timing and identify whether the layout work can be reduced without breaking saved-scroll restoration; done means room switching is measurably faster while scroll restoration still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.