Automattic / Automattic/simplenote-ios

Pressing return after a list item broken

Open
#592 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
2.2k
Forks
297
Avg merge
13h 25m
Merged PRs (30d)
6

Description

### Expected
Move the cursor to the beginning of the line of the last list item and tap Enter/Return to create a new line. This should results in this:
```
- Item 1
- Item 2

- Item 4
```

### Observed
This actually results in this:
```
- Item 1
- Item 2

-- Item 4
```

### Reproduced
User report
![](https://d.pr/i/YYGLMt+)
(Image link: https://d.pr/i/YYGLMt )

Make|Model|iOS Version|App Version
Apple| iPhone 11 | iOS 13.3 |4.14.2
Apple| iPhoneX | OS 13.3 |

Reported in #2654289-zen

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported list-editing behavior on the stated iOS versions and compare the expected and observed Markdown output. Done means pressing Return at the beginning of the last list item creates one blank line followed by a single "- Item 4" marker, without duplicating the dash.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.