Skip to content

Disable auto scrolling when executing cell. #129440

Closed as not planned
Closed as not planned

Description

Hello,

Environment data

  • VS Code version: 1.58.2
  • Jupyter Extension version (available under the Extensions sidebar): v2021.8.1054968649
  • Python Extension version (available under the Extensions sidebar): v2021.7.1053846006
  • OS (Windows | Mac | Linux distro) and version: 20H2 (OS build 19042,1110) WSL 2 Ubuntu 20.04.1 LTS
  • Python and/or Anaconda version: 3.9.2
  • Type of virtual environment used: pyenv
  • Jupyter server running: Local

I have searched for similar issues related to this topic but could not find any.

Expected behaviour

When executing a cell, auto scrolling should not occur.

Actual behaviour

When executing a cell with a lot of code, I am auto scrolled to the top of the cell. In order to view the output I have to scroll all the way down the cell.

Steps to reproduce:

Enter a blank notebook and occupy many lines with the character:

'a'

Execute the cell with Ctrl + Enter and you window view will be scrolled to line 1 of the cell.

vs_code_notebook

Any help/guidance would be appreciated.

Activity

  1. garytyler commented on Sep 25, 2021

    @garytyler

    I am experiencing the same issue. I would love to know of a workaround if anyone finds one.

  2. FischyM commented on Jan 27, 2022

    @FischyM

    I'm getting this issue too when I have many plots that are in the output. Is there a specific flag that we can put in settings.json to prevent this?

  3. NEXT-JP commented on Sep 30, 2022

    @NEXT-JP

    Still experiencing this bug. Makes the notebook almost unusable in many instances, as it not only takes you way far away from your code, but also nearly always scrolls to the bottom of the output (so at most I can see the bottom half of last line of text printed), instead of the head of the output.

  4. tangent360 commented on Oct 23, 2022

    @tangent360

    Is there a JSON setting to control this behavior?

  5. g-simmons commented on Oct 24, 2022

    @g-simmons

    devs pls 🙏

  6. gefedya commented on Nov 27, 2022

    @gefedya

    Pls:(

  7. added
    bug
    papercut 🩸
    on Dec 2, 2022
  8. iron0012 commented on Dec 5, 2022

    @iron0012

    It's REALLY annoying!

  9. g-simmons commented on Dec 6, 2022

    @g-simmons

    papercut 😭

  10. Holthuizen commented on Dec 16, 2022

    @Holthuizen

    Its so annoying is there a hotfix?

  11. rebornix commented on Dec 22, 2022

    @rebornix
    Contributor

    I tried the steps in the original issue description but I couldn't reproduce anymore in both latest Stable and Insiders. Can anyone else offer more more reproduce steps?

  12. added
    info-needed
    on Dec 22, 2022
  13. vscodenpa commented on Dec 30, 2022

    @vscodenpa

    This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

    Happy Coding!

  14. A5H1Q commented on Jan 18, 2023

    @A5H1Q

    Experiencing the same issue. any updates?

  15. rzhao271 commented on Jan 27, 2023

    @rzhao271
    Collaborator

    I am also unable to reproduce the original issue in Insiders.
    Ashik Saleem (@A5H1Q) could you attach a video or gif of your issue along with some information such as what OS version and VS Code version you're on?

  16. locked and limited conversation to collaborators on Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginfo-needednotebookpapercut 🩸

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions