Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable auto scrolling when executing cell. #129440

Closed
Amundeep-Dhaliwal opened this issue Jul 23, 2021 · 14 comments
Closed

Disable auto scrolling when executing cell. #129440

Amundeep-Dhaliwal opened this issue Jul 23, 2021 · 14 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook papercut 🩸 A particularly annoying issue impacting someone on the team

Comments

@Amundeep-Dhaliwal
Copy link

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.

@greazer greazer transferred this issue from microsoft/vscode-jupyter Jul 26, 2021
@garytyler
Copy link

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

@FischyM
Copy link

FischyM commented Jan 27, 2022

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?

@NEXT-JP
Copy link

NEXT-JP commented Sep 30, 2022

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.

@tangent360
Copy link

Is there a JSON setting to control this behavior?

@g-simmons
Copy link

devs pls 🙏

@gefedya
Copy link

gefedya commented Nov 27, 2022

Pls:(

@rebornix rebornix added bug Issue identified by VS Code Team member as probable bug papercut 🩸 A particularly annoying issue impacting someone on the team labels Dec 2, 2022
@iron0012
Copy link

iron0012 commented Dec 5, 2022

It's REALLY annoying!

@g-simmons
Copy link

papercut 😭

@Holthuizen
Copy link

Its so annoying is there a hotfix?

@rebornix
Copy link
Member

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?

@rebornix rebornix added the info-needed Issue requires more information from poster label Dec 22, 2022
@vscodenpa
Copy link

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!

@vscodenpa vscodenpa closed this as not planned Won't fix, can't repro, duplicate, stale Dec 30, 2022
@A5H1Q
Copy link

A5H1Q commented Jan 18, 2023

Experiencing the same issue. any updates?

@rzhao271 rzhao271 removed this from the January 2023 milestone Jan 27, 2023
@rzhao271
Copy link
Contributor

I am also unable to reproduce the original issue in Insiders.
@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?

@github-actions github-actions bot locked and limited conversation to collaborators Feb 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster notebook papercut 🩸 A particularly annoying issue impacting someone on the team
Projects
None yet
Development

No branches or pull requests

17 participants