Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
MD editor scrolls to the top whenever I add new content #3023
When I add new content or even type an enter in the text under MD document, the editor always scrolls to the top of the document.
Page should stay where the cursor is placed.
Steps to reproduce
Open a long MD file and try to edit it at the end.
It still occurs in the 0.11.17 version. And the theme problem as well.
I found it may be a problem of Preview part. When I uncheck “When scrolling, synchronize preview with editor”, the Edit part won't scroll up to top, but the Preview part does. So if they are synchronized they will go to the top together.
referenced this issue
Jun 3, 2019
I met the same problem, I came from #3047.
NOT Occuring situation