Repository navigation
Open
Description
Type: Bug
Steps to reproduce
- Open a markdown file through a link with a heading anchor, e.g. a link to
notes.md#setupfrom another markdown preview. - The preview opens scrolled to
## Setup(correct). - Scroll somewhere else in the preview, e.g. down to
## Deploy. - Switch to a different editor tab, then switch back to the preview.
Expected
The preview restores the scroll position from step 3.
Actual
The preview jumps back to ## Setup every time the tab is shown again, for the whole life of that preview tab.
VS Code version: Code 1.140.0 (07f806f, 2026-09-30T10:38:38+02:00)
OS version: Linux x64 7.0.0-38-generic
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | AMD Ryzen AI 9 HX 370 w/ Radeon 890M (24 x 3596) |
| GPU Status | 2d_canvas: enabled GPU0: VENDOR= 0x10de, DEVICE=0x2d58, DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.0.8 GPU1: VENDOR= 0x1002, DEVICE=0x150e, DRIVER_VENDOR=Mesa, DRIVER_VERSION=26.0.8 ACTIVE Machine model name: Machine model version: 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: disabled_off trees_in_viz: disabled_off video_decode: enabled video_encode: disabled_software vulkan: disabled_off webgl: enabled webgpu: enabled webgpu_on_vk_via_gl_interop: disabled_off webnn: disabled_off |
| Load (avg) | 0, 0, 0 |
| Memory (System) | 62.08GB (43.94GB free) |
| Process Argv | . --crash-reporter-id 5482c426-dc64-42bc-90c0-d2fabfc232e0 |
| Screen Reader | no |
| VM | 0% |
| DESKTOP_SESSION | plasma |
| XDG_CURRENT_DESKTOP | KDE |
| XDG_SESSION_DESKTOP | KDE |
| XDG_SESSION_TYPE | wayland |
Extensions (2)
| Name | Identifier | Author | Version |
|---|---|---|---|
| Ember Notes | pete.ember-notes | pete | 1.1.0 |
| IntelliJ IDEA Keybindings | k--kato.intellij-idea-keybindings | k--kato | 1.7.8 |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
envsactivate1:31551504
478i5457:31544283
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cmp-cht-diffpatch-3in1-lysithea-0024-10x-base-v2:31590977
cp_cls_t_966_ss:31526232
4je02754:31466945
c3h7c220:31478652
ge8j1254_inline_auto_hint_haiku:31490510
cp_cls_t_1081:31454832
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
i2gc6536:31499202
52612955:31516516
ddid_c:31478207
hmra_i5g22:31518061
l_j1ci3728:31592441
7df3h592:31512476
cp_cls_t_1082:31535311
logging_enabled_new:31498466
j0d79568:31499440
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
7g2b5551:31542111
sandbox-ui-on-2:31543161
enable_editor_pane_layout:31569726
allow-none:31555437
ac562147:31564510
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
0c1h4866:31566224
session-mark-done:31591648
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-control:31572633
allow-signed-out:31592042
b17abb00-cfec-4134-90da-ee5e32ce4426:31589248
intellij_nes_preview_t:31580086
multiv2:31574985
0ec91c74:31585910
unread:31581112
links-treatment:31587702
aw-autom-on:31583758
usage_tips_endabled_0911:31587631
7g328426_fixed:31593558
codex-agent-host-stable-control:31593045
54hd3363:31588611
skill-budget-15000:31593150
0485115c-2712-4002-b6e9-b5d4e30fb963:31586114
sessioninlinediffenabled_disabled:31587634
welcomesignin9359c:31590009
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31589215
ca19f5eb-b04f-4f52-8e6b-9f6927d4e0dc:31589210
c4jch183:31592431
edbgf432:31592435
permission_prompt_control:1332567
ccr_pr_nudge_adoption:1319471
vsc_wsm_t:1340632
ce50c479:1417073
1g5a5742:1379227
4cj51803:1433348
chat-subagents-default-to-auto-treatment:1436478
cmc_aa_t:1435711
Reacted by Luke Schreur
Metadata
Metadata
Assignees
Labels
No labels
Activity