marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Disable autoscroll in output

Open dclausen opened this issue 8 months ago • 1 comments

Description

When training a model, I'd like the output window to not autoscroll to the bottom when the content changes.

Suggested solution

Add an option to disable autoscroll on output.

Alternative

No response

Additional context

No response

dclausen avatar Apr 07 '25 15:04 dclausen

@dclausen is this the console output? can you share a video?

if you scroll away from the bottom, it should not auto-scroll.

mscolnick avatar Apr 07 '25 16:04 mscolnick

Is this maybe related to interactive Matplotlib plots (mo.mpl.interactive)? These always cause the window to scroll to whichever plot was updated last. That can be quite distracting. See also: https://github.com/marimo-team/marimo/issues/1946

felixpatzelt avatar Jul 08 '25 11:07 felixpatzelt

This is a legitimate issue. When executing cells with shift+enter the notebook autoscrolls to the cell below. Which is really annoying when the cell is quite big. Because the jump becomes huge.

CodeFingers809 avatar Jul 10 '25 16:07 CodeFingers809

@CodeFingers809 that is because Shift+Enter moves you to the next cell, you can choose Cmd+Enter to stay in the current cell

Image

mscolnick avatar Jul 10 '25 17:07 mscolnick