marimo icon indicating copy to clipboard operation
marimo copied to clipboard

Scroll is broken for markdown outputs in full screen

Open maks-ivanov opened this issue 1 year ago • 0 comments

Describe the bug

it seems like the scroll behavior is broken for markdown when you put the output in full screen vstack might also be involved https://www.loom.com/share/124cf7f0dcf149b381c68c44b434d60b

Environment

{
  "marimo": "0.9.14",
  "OS": "Darwin",
  "OS Version": "23.6.0",
  "Processor": "arm",
  "Python Version": "3.10.14",
  "Binaries": {
    "Browser": "131.0.6778.265",
    "Node": "v18.17.0"
  },
  "Dependencies": {
    "click": "8.1.3",
    "docutils": "0.20.1",
    "itsdangerous": "2.1.2",
    "jedi": "0.19.1",
    "markdown": "3.6",
    "narwhals": "1.10.0",
    "packaging": "24.1",
    "psutil": "5.9.8",
    "pygments": "2.18.0",
    "pymdown-extensions": "10.8.1",
    "pyyaml": "6.0",
    "ruff": "0.3.7",
    "starlette": "0.38.6",
    "tomlkit": "0.12.0",
    "typing-extensions": "4.12.2",
    "uvicorn": "0.23.2",
    "websockets": "12.0"
  },
  "Optional Dependencies": {
    "pandas": "1.5.2",
    "polars": "0.19.12",
    "pyarrow": "15.0.2"
  }
}

Code to reproduce

import marimo as mo
...
mo.vstack(
    [
        mo.md("some very long markdown string that overflows"),
        mo.ui.button(),
    ]
)
# try maximizing the cell output
# the output will be cut off on top and/or the bottom, and only partially scrollable

maks-ivanov avatar Jan 13 '25 18:01 maks-ivanov