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

No scrollbar generated for large notebook code cell outputs #122211

Closed
joyceerhl opened this issue Apr 26, 2021 · 2 comments
Closed

No scrollbar generated for large notebook code cell outputs #122211

joyceerhl opened this issue Apr 26, 2021 · 2 comments

Comments

@joyceerhl
Copy link
Collaborator

Originally reported by @tobiasharren in microsoft/vscode-jupyter#5629

  • VS Code Version: 1.56.0-insider (user setup)
  • OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

  1. Create a new notebook in VS Code Insiders (doesn't have to be a Jupyter notebook).
  2. Create and run a code cell that produces a lot of output. For example, in a Jupyter notebook connected to a Python kernel, run a code cell with the following code:
for i in range(50):
    print("test")
  1. Cell output fills all vertical space, making it difficult to navigate the notebook. There doesn't seem to be a setting to limit the height and enable a scrollbar on the output itself.
    image

Additional context: a Jupyter extension user just opted out of the native notebooks interface because there wasn't a way to limit the cell output height. Our extension supported a jupyter.enableScrollingForCellOutputs setting for our existing webview implementation of notebooks to address this user need, and users currently don't have a way to achieve the same thing in native notebooks. This is how the same code output is handled in our existing webview implementation:
image

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Apr 26, 2021

@joyceerhl
Copy link
Collaborator Author

Apologies, this is a duplicate of #118117.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant