element-hq / element-hq/element-web

Cannot click/jump to a replied-to message when that part of the timeline is loaded

Open
#25,301 1 comment 0 reactions 0 assignees View on GitHub
A-Replies A-Timeline O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Have a rather intense conversation where you reply to every one of someone's individual messages (like an interleaved thread), 50 messages in total or so
2. Reply to a message
3. On the just-created message, click on the indented reply preview
4. Repeat for a few times, until the indented reply preview does not jump anymore
---

(Note: these below instructions likely are not a reproduction, see [the investigation](https://github.com/vector-im/element-web/issues/25301#issuecomment-1549623950) below)
Or:
1. Reply to a message
2. Click on the indented reply preview, jump as expected
2. Click "down" in the bottom-right
3. Click on the reply preview again, it does not jump this time

### Outcome

#### What did you expect?

For jumping to always scroll the message in view

#### What happened instead?

Sometimes, the message is not scrolled in the view, but still "highlighted" (outside of the visible area), or sometimes the timeline is jumped to the wrong position, below or above the replied-to message

The replied-to message (or linked message) being brought to the middle of the screen is not done consistently.

### Operating system

MacOS

### Application version

Element version: 1.11.30 Olm version: 3.2.14

### How did you install the app?

Downloading from the website, updating it regularly

### Homeserver

Synapse 1.77.0

### Will you send logs?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the interleaved-reply scenario in the web client and review the linked investigation comment for context. Trace the reply-preview jump and timeline-loading behavior, including the bottom-right “down” action. Done means clicking a replied-to message consistently scrolls that message into view rather than highlighting it off-screen or jumping to the wrong position.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.