element-hq / element-hq/element-web

Thumb in FilePanel scrollbar should correspond to reality

Open
#18,489 1 comment 0 reactions 0 assignees View on GitHub
A-File-Panel O-Frequent S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Scroll to some old files in the FilePanel and see the thumb in the scrollbar is quite big:
![Screenshot from 2021-08-11 14-00-17](https://user-images.githubusercontent.com/51663/129042471-c2929884-f24f-43d3-b323-ca00b8ed935c.png)

2. Scroll to newer messages, see that thumb is smaller:
![Screenshot from 2021-08-11 14-01-25](https://user-images.githubusercontent.com/51663/129042724-724fb082-cbe7-4c23-b27e-dbe0e2ed21da.png)

### What happened?

Thumb first shrunk, then expanded instead of continuing to shrink as more messages are being loaded.

### What did you expect?

Thumb shrinks and stays small when older messages are loaded so that it corresponds to my correct position in the scrollbar relative to the newest messages.

### Operating system

Arch Linux

### Browser information

Chromium Version 92.0.4515.131 (Official Build)

### URL for webapp

develop.element,io

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.