fastmail/Squire

The cursor isn't staying in the viewport when inserting new lines

limonte opened this issue · 1 comments

Actual behavior

Pressing Enter doesn't keep the cursor in the editor's viewport:

CleanShot.2021-02-07.at.21.53.00.mp4

Reproducible on the demo page http://neilj.github.io/Squire/ (I'm using Chrome on macOS)

Whenever I press any charachter, e.g. "a" the focus returns to the editor's viewport.

Expected behavior

The cursor always stays in the editor's viewport.

Oops, sorry. This is the duplicate of my own issue reported a year ago: #374