Automattic / Automattic/simplenote-electron
Note list: Note preview in "expanded" duplicates first line of note if note starts with newlines
Open
[feature] note list
bug
NewMember
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 588
- Avg merge
- 9h 45m
- Merged PRs (30d)
- 4
Description
I had a note named "3". I hit enter a few times at the top of the note to remove the title. I ended up with the following:

Deleting the newlines at the beginning of the note fixes the preview:

There's a height bug here as well which might be related:

Reproduced in Electron and Firefox/OSX.
Contributor guide
Research direction
Reproduce the issue in the note list's expanded preview using a note that begins with several newlines, in Electron or Firefox on macOS. Inspect the note preview rendering and its height behavior; done means the first line is not duplicated and the preview height is correct without leading-newline workarounds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100