element-hq / element-hq/element-web

Context menu disappears before releasing mouse click from copy option.

Open
#27,199 0 comments 0 reactions 0 assignees View on GitHub
O-Frequent S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Where are you starting? What can you see?
In any chat window with text higlighted

2. What do you click?
Right click on text to open context menu, then left click on "copy"

![image](https://github.com/element-hq/element-desktop/assets/13704069/74eb8a5d-62e2-442a-b914-cfbd01812f48)

### Outcome

#### What did you expect?
When highlighting text in a chat, then right-clicking to open the "context menu", then clicking "copy"...
-Common practice, and behavior of other options in this very menu, is for the reaction to happen when the mouse button is released after being pressed down.

#### What happened instead?
-It reacts when the mouse button is pressed down (menu disappears, text is copied, before mouse is then released)

### Operating system

Windows 10

### Application version

Element version: 1.11.61 Crypto version: Olm 3.2.15

### How did you install the app?

_No response_

### 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.