element-hq / element-hq/element-web

Timeline panel enters an infinite loop on getEvents

Open
#23,836 1 comment 1 reaction 0 assignees View on GitHub
A-Timeline O-Uncommon S-Major T-Defect
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.