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

text-formatting: newly converted list items are selected but not shown to be

Open
#5,636 0 comments 0 reactions 0 assignees View on GitHub
A-Composer A-Rich-Text-Editor O-Occasional 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. Im in a room and have at least one line of text in my text-input field. Text-formatting is active.
2. select a line in the composer
3. choose one of the two list options in the formatter-bar
4. press enter on the keyboard

### Outcome

#### What did you expect?

Either:
A: The list item stays in place, and I get a new line.
B: After converting the line to a list item, it is visibly selected. The whole line is replaced by a return and newline when I press the Enter key.

#### What happened instead?

The new list item disappears, even though it was not visibly selected.

### Your phone model

fp5

### Operating system version

Lineageos 22.10

### Application version and app store

15.10.0

### Homeserver

matrix.org

### Will you send logs?

No

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