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

Native Notebooks - Collapsing output from bottom leads to incorrect scroll location #114866

Open
claudiaregio opened this issue Jan 24, 2021 · 2 comments
Assignees
Labels
notebook-rendering under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues

Comments

@claudiaregio
Copy link

Transfer from microsoft/vscode-jupyter#4473

Not sure whether to classify this as a bug, as it's more a UX issue than a real bug.

Currently, when collapsing a very long cell output (by doing right-click and then "collapse cell output"), it appears that the notebook retains the previous scroll coordinates.

This is an issue with long outputs, especially if they span more than the total screen height. In those cases, after collapsing the cell I often end up with a view of cells that are much further down in the notebook, forcing me to scroll up and waste time trying to find back where I was.

It would probably make more sense to automatically scroll so that the cell whose output was collapsed is visible?

I am only able to repro this behavior if I try to collapse the output from the bottom of the output. Scroll location remains correct when collapsing from the top of the output.

Collapse Scroll Off

@vscodebot
Copy link

vscodebot bot commented Jan 24, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@ldorigo
Copy link

ldorigo commented Jan 27, 2021

Note that a similar behaviour (not sure if it has the same cause) happens when re-executing a cell that has a long output: the output is removed, which moves me much further down in the notebook, and I forces me to scroll back up to where I was.

@rebornix rebornix added under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues notebook-layout labels Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notebook-rendering under-discussion Issue is under discussion for relevance, priority, approach ux User experience issues
Projects
None yet
Development

No branches or pull requests

5 participants
@rebornix @DonJayamanne @ldorigo @claudiaregio and others