marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Scrollable columns?

Open IanQS opened this issue 1 month ago • 3 comments

Description

I tend to have the following workflow:

C1 | C2 | C3 ....

where C1 contains utility code/setup code and C2 and C3 (or more) contain analysis code. That way I can just scroll right and hide away the utility code. As I experiment and add more code, common functions in C2 and C3 are migrated over to C1. As such, it would be useful to have C1 scrollable to the bottom, while keeping C2 and C3 in view.

Suggested solution

Add the columns into individual scrollable containers

Are you willing to submit a PR?

  • [ ] Yes

Alternatives

No response

Additional context

No response

IanQS avatar Oct 17 '25 19:10 IanQS

I'm guessing you'd like it if you can limit the height of specific columns, so it becomes scrollable? I have not tested, but wonder if doable with css (max-height & overflow-y)

Light2Dark avatar Oct 21 '25 07:10 Light2Dark

I'm guessing you'd like it if you can limit the height of specific columns, so it becomes scrollable?

Sure! That's definitely one possible approach and sounds like it would work? I don't know the internals, so I didn't want to prescribe a solution.

doable with css

Perhaps! I'm not familiar with Web dev stuff

IanQS avatar Oct 21 '25 19:10 IanQS

Big +1 to this. I frequently have a flow where I'm iterating analysis code in one cell and a different cell displays a visualization. Being able to have those two cells side by side instead of scrolling back and forth would be so good. Just having two very different cells loaded up into the visual context at a time without needing to rearrange or scroll would be a great usability improvement. I basically never use column view because of this limitation

robdmc avatar Oct 21 '25 22:10 robdmc