element-hq / element-hq/element-x-android

swiping up an image only hides the image, but doesn't close the gallery, when animations are disabled

Open
#4,957 3 comments 0 reactions 0 assignees View on GitHub
A-Media Viewer O-Uncommon S-Minor T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1 . disable all animations in developer settings or accessibility settings
2. go to Settings -> Apps -> Element X -> force stop
3. open a room with an image in the timeline
4. open the image
5. swipe up/move the image out of the top screen

### Outcome

#### What did you expect?
I'd expect the gallery view to close and be able to interact with the timeline again.

#### What happened instead?
The image is not shown anymore/gallery view is invisible for the moment, but I can't interact with the messages. The reason is that the gallery is never closed i.e. when I swipe to the left I see the last couple of images sent within this room.

When pressing the back button the gallery closes correctly and I can interact with the chat, input box, ... again.

### Your phone model

ONEPLUS A5010

### Operating system version

Android 15 / LineageOS 22.2-20250624-NIGHTLY-dumpling

### Application version and app store

Element X 25.06.03 (202506032)

### Homeserver

imninja.net

### Will you send logs?

Yes

### Are you willing to provide a PR?

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.