Skip to content

Sandbox output panel disappears when resize handle is dragged fully down and have to refresh the page to get it back #2211

@AryanBagade

Description

@AryanBagade

Describe the Bug

When using the resizable splitter in the Pyrefly Sandbox, dragging the resize handle all the way down causes the output panel ("Type Checking Errors" / "Runtime Output" tabs) to completely disappear. Once hidden, there's no way to bring it back without refreshing the page.

Steps to reproduce:

  1. Go to https://pyrefly.org/sandbox/
  2. Locate the resize handle (the horizontal bar between the code editor and the output panel)
  3. Drag the resize handle all the way down to the bottom of the screen
  4. The output panel disappears completely and cannot be recovered
CleanShot.2026-01-23.at.22.36.56.mp4

Expected behavior:
The resize handle should stop at a minimum height that keeps the output panel visible and draggable.

CleanShot.2026-01-23.at.23.53.07.mp4

Root cause:
The sandbox container had no fixed height constraint (flex: 1 only), allowing it to grow infinitely as the user dragged down. The clamping logic couldn't enforce minimum heights because the container kept expanding.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions