[Markdown] Newly opened document starts scrolled to the middle/end
Author: KingKing102Created Sep 23, 2026Updated Sep 23, 2026
Steps
- Use a fresh profile with no saved scroll state.
- Open a multi-section Markdown file from the command line or file association.
Actual
The first visible section is near the end of the document (for example “Action Items”), not the title.
Expected
A newly opened external file should start at the top unless the user is explicitly restoring a previous session position.
Synthetic reproduction document
Save this exact content as scroll-repro.md and open it from a fresh profile. In the 860 px editor viewport, a short version fits and opens at the top; the longer version below immediately scrolls near the final numbered lines.
# Weekly note
## Context
First section.
## Actions
- [ ] Prepare a short summary.
## Reference notes
01. This line increases the document height for the scroll position check.
02. This line increases the document height for the scroll position check.
03. This line increases the document height for the scroll position check.
04. This line increases the document height for the scroll position check.
05. This line increases the document height for the scroll position check.
06. This line increases the document height for the scroll position check.
07. This line increases the document height for the scroll position check.
08. This line increases the document height for the scroll position check.
09. This line increases the document height for the scroll position check.
10. This line increases the document height for the scroll position check.
11. This line increases the document height for the scroll position check.
12. This line increases the document height for the scroll position check.
13. This line increases the document height for the scroll position check.
14. This line increases the document height for the scroll position check.
15. This line increases the document height for the scroll position check.
16. This line increases the document height for the scroll position check.
17. This line increases the document height for the scroll position check.
18. This line increases the document height for the scroll position check.
19. This line increases the document height for the scroll position check.
20. This line increases the document height for the scroll position check.
21. This line increases the document height for the scroll position check.
22. This line increases the document height for the scroll position check.
23. This line increases the document height for the scroll position check.
24. This line increases the document height for the scroll position check.
25. This line increases the document height for the scroll position check.
26. This line increases the document height for the scroll position check.
27. This line increases the document height for the scroll position check.
28. This line increases the document height for the scroll position check.
29. This line increases the document height for the scroll position check.
30. This line increases the document height for the scroll position check.Expected: the title remains visible on first open. Actual: the viewport begins around the final list items.
Source: genspark-ai/genoffice