element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.03k stars 1.96k forks source link

Timeline loses place when clicking link to a message #21138

Open kittykat opened 2 years ago

kittykat commented 2 years ago

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


novocaine commented 2 years ago

Similar to https://github.com/vector-im/element-web/issues/20154

MadLittleMods commented 1 year ago

Related to https://github.com/vector-im/element-web/issues/17308