Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
restore scrollTop of viewElement for smoother livereload #477
Description of the Change
When the PreviewView is reloaded after a change, the scrollTop is being reset to 0, which is quite annoying when writing a Markdown file while the view is scrolled to the current position.
With this Change the scrollTop will be restored after rerendering the PreviewView.
Smoother rerendering of the PreviewView with livereload.