Automattic / Automattic/simplenote-macos

Bug: Live preview scrolls back to the top after editing the note

Open
#983 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

Hi,

I noticed a little bug in Markdown's live preview:

* Open a long note and edit something;
* Change to the live preview and scroll the page;
* Simplenote will bounce back to the top the first time you scroll. After that, scrolling works as intended.

It repeats every time you make an edit in the note and activate live preview.

I'm using Simplenote 2.13 on macOS 11.4.

A vide:

https://user-images.githubusercontent.com/19216581/123555483-52bccc80-d75c-11eb-88d7-8072894b92c3.mp4

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported sequence with a long Markdown note: edit it, activate live preview, and scroll. Done means the preview preserves the current scroll position on the first scroll after each edit, without the bounce to the top.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.