element-hq / element-hq/element-web
Timeline forward-paginates infinitely when jumping to hidden events
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Copy the permalink of a hidden event somewhere in the scrollback of a room
2. Click on that permalink
### Outcome
#### What did you expect?
To jump to the area of the hidden event, and stay there
#### What happened instead?
The timeline jumps to the hidden event, and then forward-paginates infinitely as fast as possible, with scroll offset stuck to the bottom. Clicking the 'Jump to bottom' button or another permalink stops this behavior.
Rageshake attached with [`ScrollPanel` and `TimelinePanel` debug logs enabled](https://github.com/matrix-org/matrix-react-sdk/pull/8513).
### Operating system
NixOS unstable
### Browser information
Firefox 99.0.1
### URL for webapp
develop.element.io
### Application version
Element version: 1783645108b8-react-617c0e3c50c2-js-706b4d605481 Olm version: 3.2.8
### Homeserver
Synapse 1.58.0
### Will you send logs?
Yes
Contributor guide
Assessment
This issue has not been assessed yet.