Repository navigation
Closed
Labels
Description
Type: Bug
Whenever you switch from a Markdown preview tab to another tab and back, the position of the Markdown page is reset. This makes it very hard to read the document while checking code details at the same time.
Steps to reproduce:
- Open some code file
- Open some Markdown file
- Open Markdown preview
- Scroll down the document
- Switch to the code file tab and switch back
--> The position is reset
VS Code version: Code 1.121.0 (f6cfa2e, 2026-05-19T11:51:53+02:00)
OS version: Darwin arm64 25.4.0
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Apple M3 Max (14 x 2400) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x106b [Google Inc. (Apple)], DEVICE=0x0000 [ANGLE (Apple, ANGLE Metal Renderer: Apple M3 Max, Version 26.4 (Build 25E246))], DRIVER_VENDOR=Apple, DRIVER_VERSION=26.4 ACTIVE Machine model name: Mac Machine model version: 15.11 direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: enabled_on trees_in_viz: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 4, 4, 4 |
| Memory (System) | 36.00GB (0.09GB free) |
| Process Argv | --crash-reporter-id bf6ffe2a-3713-4238-a1c6-2bd044f20906 |
| Screen Reader | no |
| VM | 0% |
Extensions (18)
| Extension | Author (truncated) | Version |
|---|---|---|
| terraform | 4op | 0.2.5 |
| biome | bio | 3.6.1 |
| vscode-eslint | dba | 3.0.24 |
| docker | doc | 0.18.0 |
| hscopes | dra | 0.0.9 |
| prettier-vscode | esb | 12.4.0 |
| vscode-jest-runner | fir | 0.4.148 |
| terraform | has | 2.39.2 |
| gitless | maa | 11.7.2 |
| template-string-converter | meg | 0.6.1 |
| azure-pipelines | ms- | 1.261.1 |
| vscode-containers | ms- | 2.4.4 |
| csdevkit | ms- | 3.20.199 |
| csharp | ms- | 2.140.8 |
| vscode-dotnet-runtime | ms- | 3.0.2 |
| playwright | ms- | 1.1.19 |
| chatgpt | ope | 26.519.32039 |
| vscode-yaml | red | 1.23.0 |
A/B Experiments
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
63221493:31336333
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
55ia6109:31457054
ec5jj548:31422691
cp_cls_t_966_ss:31454198
inlinechat_v2_hd992725:31505030
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
38bie571_auto:31478677
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
46204921:31447328
control_6dc23131:31520950
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
89g7j272:31518289
7e187181:31503455
i2gc6536:31499202
52612955:31516516
ghj88844:31499326
ddid_c:31478207
hmra_i5g22:31518061
getcmakediagnosticson:31489824
7df3h592:31512476
pro_large_t:31499376
cp_cls_t_1082:31516087
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_c_632:31517842
56dj4588:31512888
cg448276_tst_on:31514358
32d76977:31512328
ha629193:31508444
539gd155_c:31506875
jh5f2457_c:31515489
api_cot_off:31513532
hgf2d445:31517210
prpt_lrg:31518466
61138546:31518536
Reacted by Thunderbelch, RomanTheRoman, Filip Kovarik, rjones58265826-spec, Alexander Stoilov and Alberto Santini
Activity
bingbu commentedon May 28, 2026
Same issue, it's buggy.
mjbvz commentedon Jun 4, 2026
Does this reproduce in the latest VS Code release (1.123+) with all extensions disabled?
plaa commentedon Jun 5, 2026
No longer reproducible in 1.123.0, thanks!
plaa commentedon Jun 5, 2026
I spoke too soon. I tested with
code --disable-extensionsand it kept the position when switching tabs, now 5 mins later when I test exactly the same way with extensions disabled it resets the position again every time. No idea what changed between the tests.Can you please reopen this issue Matt Bierner (@mjbvz) , I don't have reopen rights?
rjones58265826-spec commentedon Jul 9, 2026
same issue through all the new versions recently not fixing the bug. Really annoying, only happens in preview mode, not regular when editing. When I switch to another tab, and come back to the markdown preview tab, its reset from the position/spot on the page it was at before. Sometimes resets to the very top, sometimes the very bottom.
Same issue on Windows 11 host, and inside wsl2 doesn't matter. On the latest vscode: