Skip to content

VSCode automatically scrolls to top of cell output when scrolling up #142439

Open

Description

@curzona

Applies To

  • Notebooks (.ipynb files)
  • Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?

When scrolling up, the window jumps up when it hits the bottom of a cell output. This happens for matplotlib output but not text output. This is very annoying with large cell outputs.

From the settings it seems like this is a "feature": "...the window will only automatically scroll if the bottom of the prior cell is visible." But there is no way to change this behavior.

notebook.ipynb.-.temp.-.Visual.Studio.Code.2022-02-06.09-31-19.mp4

VS Code Version

Version: 1.64.0 (user setup) Commit: 5554b12 Date: 2022-02-03T04:22:20.678Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.19043

Jupyter Extension Version

Jupyter v2022.1.1001775990

Jupyter logs

No response

Coding Language and Runtime Version

Python 3.9.10 64-bit

Language Extension Version (if applicable)

No response

Anaconda Version (if applicable)

No response

Running Jupyter locally or remotely?

Local

Activity

  1. Repository owner unassigned on Feb 7, 2022
  2. greazer commented on Feb 7, 2022

    @greazer

    Notebook scrolling is core code.

  3. added
    bug
    on Feb 7, 2022
  4. abdalazizrashid commented on Nov 30, 2023

    @abdalazizrashid

    Any updates on this?

  5. added
    polish
    and removed on Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugnotebook-outputpolish

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions