element-hq / element-hq/element-web
Timeline loses place when clicking link to a message
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. In your backlog in room 1, see a matrix.to link to a message (which is in a private room I'm not a member of)
2. Click the link (join room 2)
3. Go back to room 1 and see that timeline has now jumped to newest messages and I've lost my place
### Outcome
#### What did you expect?
Timeline remembers my place as it would do when navigating using the left panel between two rooms
#### What happened instead?
Timeline lost my place and jumped to newest messages
### Operating system
_No response_
### Browser information
Chromium 98.0.4758.80 (Official Build) Arch Linux (64-bit)
### URL for webapp
develop.element.io
### Application version
Element version: a01684e126e6-react-f1e1b7be86ca-js-7a7318b636b7 Olm version: 3.2.8
### Homeserver
matrix.org
### Will you send logs?
No
---
- remember scroll position
- maintain scroll position
- same point in timeline when switching rooms
- remember room position
- scroll offset
Contributor guide
Assessment
This issue has not been assessed yet.