Skip to content

Markdown preview scrolls down while typing in editor #119370

@magiblot

Description

@magiblot

Issue Type: Bug

  1. Open the following document: https://github.com/magiblot/tvision/blob/28246145506f4397c4358fcacd6c2f4d9c89ff8f/README.md

  2. Enable the document preview.

  3. Do any of the following:

    • Type text near the end of the document, e.g. line 708.
    • Scroll the preview near the end of the document. Then go to Settings, search "Markdown" and keep toggling "Markdown > Preview: Scroll Editor With Preview" or "Markdown > Preview: Scroll Preview With Editor".

    The preview will scroll up on each update, and so will the editor until the cursor is about to become out of sight.

To make the issue more evident, set markdown.preview.scrollEditorWithPreview to false.

The issue is reproducible even after disabling extensions with the workbench.action.reloadWindowWithExtensionsDisabled command.

VS Code version: Code 1.54.3 (2b9aebd, 2021-03-15T10:55:24.277Z)
OS version: Linux x64 5.11.7-arch1-1

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz (4 x 2400)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 1, 1, 1
Memory (System) 11.63GB (4.63GB free)
Process Argv --no-sandbox --unity-launch --ignore-gpu-blacklist --crash-reporter-id 2993da31-a167-44bc-bba0-3373266d8467
Screen Reader no
VM 0%
DESKTOP_SESSION undefined
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP undefined
XDG_SESSION_TYPE tty
Extensions: none
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstry914:30276682
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythontbcf:30265426
vscoresta800cf:30276762
vspre833cf:30267465
vsfjg287:30275553
vshan820cf:30276953

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)markdownMarkdown support issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions