Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrolling position of thread list is reset when navigating threads #21735

Open
janogarcia opened this issue Apr 11, 2022 · 2 comments
Open

Scrolling position of thread list is reset when navigating threads #21735

janogarcia opened this issue Apr 11, 2022 · 2 comments
Labels
A-Threads O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect

Comments

@janogarcia
Copy link

janogarcia commented Apr 11, 2022

Steps to reproduce

  1. Go to the thread list.
  2. Open a thread.
  3. Go back to thread list by using the back button in the Threads panel.

Outcome

What did you expect?

The scroll position in the thread list to be preserved.

What happened instead?

The scroll position is reset to the most recently updated thread.

What would you like to do?

Persist scrolling position of thread list when navigating threads. That is, when going from the thread list to a thread, and then back to the thread list the scroll position of the thread list should persist.

Why would you like to do it?

Losing scroll position while navigating makes you easily lose context which is quite inconvenient and adds friction for example when catching up with updates/unreads. The user should be able to continue browsing the list at their previous scrolling position.

How would you like to achieve it?

It'd be OK if we don't persist it anymore when switching to a different room, but we should at least track it while navigating threads in the same room.

@janogarcia janogarcia changed the title Persist scrolling position of thread list when navigating threads Scrolling position of thread list is reset when navigating threads Apr 11, 2022
@dbkr dbkr added S-Minor Impairs non-critical functionality or suitable workarounds exist O-Occasional Affects or can be seen by some users regularly or most users rarely labels Apr 12, 2022
@t3chguy
Copy link
Member

t3chguy commented Apr 21, 2022

Blocking this until we have a paginated API for this, as the solution will be rather different

#21877

@germain-gg
Copy link
Contributor

Homeservers now offer a paginated API for threads, and we could work towards preserving scroll position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Threads O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants