element-hq / element-hq/element-web

Tool overlay can get stuck on for images

Open
#22,733 1 comment 0 reactions 0 assignees View on GitHub
A-Media A-Timeline A11y O-Occasional S-Tolerable T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Click on an image to open the image viewer
2. Press Esc to exit view (note that other method of leaving the image viewer don't trigger the bug)
3. See the toolbar with message actions persist for the message with the image and you can see a second one when hovering over other messages

### Outcome

#### What did you expect?
No persistent tool overlay for the message with the image

#### What happened instead?
I can see a persistent tool overlay on the image as well as one for the message that I'm hovering over
![Screenshot from 2022-07-04 23-23-56](https://user-images.githubusercontent.com/51663/177221797-953e584f-29e0-4d1a-bf84-4f0dee4faf5a.png)
:

### Operating system

_No response_

### Browser information

Chromium 101.0.4951.64 (Official Build) Arch Linux (64-bit)

### URL for webapp

app.element.io and develop.element.io

### Application version

_No response_

### Homeserver

_No response_

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