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

Pressing the hardware back button doesn't close the `Report bug` menu

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

Description

To reproduce:

Open the `Report bug` menu and press the system back button quickly after opening (or swipe on modern android that support swipe back) and observe that it doesn't close, but it does close the main menu behind it instead. Waiting a second or two and swiping back does close the `Report bug` as would be expected.

Note that hitting the in-app back button in the top-left always works as expected.

It feels to me that it's not being marked as "currently active/loaded" until something happens in the background, and hitting back before that closes the parent menu instead.

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.