Skip to content

Strange scrolling behaviour in preview mode with images #2886

@MaaadMax

Description

@MaaadMax

Current behavior

I use the markdown mode and the preview mode side by side. Normally the preview shows me the text I am writing in the markdown mode. But when I have some big images included and write something at the end of the mardown file, the preview mode shows me the beginning of the markdown file.

Expected behavior

I expect that the preview mode automatically scrolls to the point where my cursor is located. So it doesn't matter if images are included and how big they are.

Steps to reproduce

  1. Create a file with normal text at the beginning
  2. Insert some images which are in total higher than the preview view
  3. Scroll down to the bottom of the markdown file and write some new text

Environment

  • Version : 0.11.15
  • OS Version and name : Windows 10 1809

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.level 2 ❗A bug that causes major damage: App is barely usable, since major features are not working.needs investigation 🔬Issue requires further investigation to locate or narrow down the problem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions