element-hq / element-hq/element-x-android

Remember scroll position in chat rooms

Open
#2,268 4 comments 8 reactions 0 assignees View on GitHub
T-Enhancement
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Your use case

#### What would you like to do?
When leaving the room view or closing the app and going back the scroll position should stay relatively the same.

#### Why would you like to do it?
When searching for older message user should not fear accidental press of a back button or checking other room for a moment.
This would be especially useful with the fast nature of Element X.

#### How would you like to achieve it?
Saving information about the latest message visible on screen and load the fragment of conversation containing it when opening up the room.

### Have you considered any alternatives?

_No response_

### Additional context

One of the apps which also implements this feature is Telegram.

### Are you willing to provide a PR?

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.