element-hq / element-hq/element-web

enable auto scroll only when you have a chat room in focus and the app is not minimized

Open
#23,574 2 comments 0 reactions 0 assignees View on GitHub
A-Timeline T-Enhancement X-Needs-Product
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Your use case

#### What would you like to do?
When I have the app open, and I'm in a chat room, that is when it should auto scroll for that room only. All other chat rooms should not auto scroll.

#### Why would you like to do it?
I don't like to have to click the button to scroll up to the last unread message

#### How would you like to achieve it?
1. app is minimized - disable auto scroll
2. app is not minimized and I have clicked on a room - enable auto scroll for that room only
3. app is not minimized and I have clicked on a room while new messages come into the other rooms - disable auto scroll for those other rooms

### Have you considered any alternatives?

_No response_

### Additional context

Discord works this way.

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.