element-hq / element-hq/element-android

Cancelling edit no longer clears the input field

Open
#2,266 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
Avg merge
8d 20h
Merged PRs (30d)
1

Description

**Describe the bug**
In the latest dev build, when editing a message and then cancelling the edit, text remains in the input box. I believe this bug was introduced by PR #2158.

**To Reproduce**
Steps to reproduce the behavior:
1. Use the latest dev build
2. Long press message and select edit
3. Edit the message without sending (probably optional)
4. Cancel editing
5. The text should still be in the input even though the editing is cancelled

**Expected behavior**
The input should clear

**Smartphone (please complete the following information):**
- OS: Android 10

**Additional context**
- App version and store [e.g. 1.0.0]: 1.0.10-dev [206433762] (F-1b7158a6)

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.