element-hq / element-hq/element-web

Replies cause jumps during scrolling

Open
#21,585 2 comments 3 reactions 0 assignees View on GitHub
A-Replies A-Timeline A-Timeline-Jumpy-Scroll O-Frequent S-Minor T-Defect X-Needs-Design Z-Chronic Z-Papercuts
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Scroll through any room where replies are used frequently

### Outcome

#### What did you expect?

Smooth scrolling.

#### What happened instead?

Jumpy scrolling. This is somewhat unavoidable with the current reply layout, since reply previews are of variable height, meaning there's no way to predict how tall they will be before they load.

This could be solved by either giving reply previews a fixed height (would require an entirely new design), or preloading replies before they're ever paginated into the timeline.

### Operating system

NixOS unstable

### Browser information

Firefox 98.0.1

### URL for webapp

develop.element.io

### Application version

Element version: 02a5789dd362-react-af6bd63ac7ab-js-bdc3da1fac3c Olm version: 3.2.8

### Homeserver

Synapse 1.55.0

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.