element-hq / element-hq/element-web
Timeline panel enters an infinite loop on getEvents
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Scroll through a room's timeline?
### Outcome
#### What did you expect?
No freezing.
#### What happened instead?
The app froze, and I captured the following profile, which shows `getEvents` looping infinitely: https://share.firefox.dev/3GLLEQ2
### Operating system
NixOS unstable
### Browser information
Firefox 107.0
### URL for webapp
develop.element.io
### Application version
Element version: cbf5c43ae79d-react-569a36493378-js-b318a77ecef1 Olm version: 3.2.12
### Homeserver
Synapse 1.71.0
### Will you send logs?
No
Contributor guide
Research direction
Start by reproducing the freeze while scrolling through a room's timeline on develop.element.io, then inspect the linked Firefox profile for the getEvents loop. Trace the timeline event-loading path and verify that scrolling no longer freezes the app; the report provides no source file or test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100