Skip to content

More notebook scroll on execute polish #194516

Closed

Description

@amunger

Ideas to experiment with:

  • Don't shrink a cell while it is executing -> less jumpy as output is replaced
  • change the anchor heuristic from "if the resizing cell is partially visible" to "if the cell's output will shrink out of view"
  • Anchor to a focused cell if the focus is in the cell's editor

cc Peng Lyu (@rebornix)

Activity

  1. rebornix commented on Oct 10, 2023

    @rebornix
    Contributor

    For the new heuristics we are adding (growing upwards or downwards), they should probably be interrupted the moment users start to scroll, for example, if I scroll manually to a specific position, I would expect the scroll top not to change.

  2. amunger commented on Oct 10, 2023

    @amunger
    CollaboratorAuthor

    I disagree - That could mean if you have a cell focused and anchored, and you scroll to get it higher in the view, it would then start getting pushed down as the previous cell grows.

  3. added
    unreleased
    on Oct 10, 2023
  4. rebornix commented on Oct 11, 2023

    @rebornix
    Contributor

    you scroll to get it higher in the view, it would then start getting pushed down as the previous cell grows

    If I scroll to get it lower in the view, as I want to read the cells above, and since it's still in the view and focused/anchored, the cells I was reading will then pushed upwards, right?

    Screen.Recording.2023-10-10.at.8.53.01.PM.mov

    This feels unnatural compared to how browser handles scrolling or Terminal. Terminal scenario might be closer to this, as it usually sticks to the bottom when the shell is streaming outputs, but the very moment we scroll upwards, it stops sticking to the bottom.

  5. added
    insiders-released
    and removed
    unreleased
    on Oct 11, 2023
  6. locked and limited conversation to collaborators on Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

insiders-releasednotebook-outputon-testplanpolish

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions