Closed cyril-marpaud closed 1 year ago
VS Code seems to have treated sticky headers as floating contents that are not affected by scroll sync. The same problem can also be seen when Marp preview was disabled. So this is a VS Code issue, not a Marp issue.
Marp for VS Code extension cannot change VS Code's scroll sync logic, so there is nothing more we can do.
You should report this in the VS Code issue tracker instead. https://github.com/microsoft/vscode/issues
Version of Marp Tool
Marp for VS Code 2.6.0
Operating System
Linux
Environment
Node.js version (Marpit / Marp Core/ Marp CLI): [e.g. Node.js 14.17.1]How to reproduce
"editor.stickyScroll.enabled": true,
.md
file) and its preview side by sideExpected behavior
the preview pane stays in vertical sync with the source markdown pane (the preview "start point" should be the first non sticky line)
Actual behavior
the preview pane does not stay in vertical sync with the source markdown pane (the preview "start point" actually seems to be the first displayed line, meaning the first sticky line)
Additional information
No response