Skip to content

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

Open

Description

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

Activity

  1. vscodebot commented on Jan 24, 2021

    @vscodebot

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

  2. ldorigo commented on Jan 27, 2021

    @ldorigo

    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.

  3. added
    under-discussion
    ux
    on Oct 11, 2021
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

    notebook-layoutunder-discussionux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions