Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Scrolling Markdown Preview with Transcluded Files included #1329

Open
sahil48 opened this issue Feb 5, 2024 · 1 comment
Open

Issue Scrolling Markdown Preview with Transcluded Files included #1329

sahil48 opened this issue Feb 5, 2024 · 1 comment

Comments

@sahil48
Copy link

sahil48 commented Feb 5, 2024

Describe the bug

I added several transcluded markdown files one after another in my document. When I try to scroll along the markdown preview, the markdown preview attempts to keep the scroll position of markdown editor and preview in sync. Both get confused, meaning that the editor will go down and up-again to try to keep up. Sometimes, it is impossible to scroll down the preview. Before I can scroll down further, the preview goes back up in an attempt to match the editor position.

Small Reproducible Example

No response

Steps to Reproduce the Bug or Issue

  1. Create several long documents
  2. Transclude them into another markdown file with card-embed style (showing full content), one after the other using ![[document_name]] syntax
  3. Open the Markdown Preview
  4. Attempt to scroll from the preview

Expected behavior

I expect to be able to scroll through the entire preview. I expect the markdown preview not to jump up and down. I expect that the scrolling of editor does not continue until entire transcluded document passes the vertical center of the preview window.

Screenshots or Videos

2024-02-04_1949-zGjN

Operating System Version

Windows 11

Visual Studio Code Version

1.85.2

Additional context

No response

@sahil48
Copy link
Author

sahil48 commented Feb 24, 2024

Two finger scroll work but using up and down arrow key or mouse wheel exhibit the behavior described above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant