element-hq / element-hq/element-web

Reply button click selects previous message instead of composing the reply

Open
#19,415 5 comments 0 reactions 0 assignees View on GitHub
A-Reactions O-Uncommon S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

This is happening with one-line messages only. Messages that span more than one line in the room view don't manifest this bug.

When you want to reply to a single line message in a chat room, you follow these steps:

1. You hover the mouse cursor over the one-line message you want to reply to.
2. The badge with the React, Reply and Options buttons appears on the right side over the hovered message.
3. You then click on the React button.

### Outcome

The expected outcome is that the the originally hovered message is selected as the message being replied to. Instead, what was happening, was that the previous message was selected and the click on the Reply button was just ignored.

Also, and more importantly, this bug was happening before I resized the chrome tab. When I did resized it, the bug stopped happening and I wasn't able to reproduce it anymore. So, there's that — it might just be a fluke...

Anyways, it's registered here ;)

### Operating system

Linux, KDE Neon

### Browser information

It's chrome. User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36

### URL for webapp

app.element.io

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.