Skip to content

Pane viewport scrolls up and snaps back while agent panes produce output #2669

Description

@mkpoli

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, contribution proposal, or direction check.
  • I reproduced this bug on the version and environment reported below using the exact steps provided.

Current behavior

While agent panes are producing output, the pane viewport jumps on its own: the content scrolls up by several lines and then snaps back down to the bottom. I am not touching the mouse or the keyboard when it happens. The movement is purely vertical, with no width change or reflow.

It shows up in almost any pane, and it is most obvious when Claude Code prints a permission prompt or a selection menu. It happens more often the more agent panes are working at the same time, and I stop noticing it when only one or two agents are active.

The same behavior was reported in #2521, which was closed for not following the template.

Expected behavior

The viewport stays where it is while a pane prints new output.

Reproduction

  1. Open a session with roughly 14 workspaces and Claude Code running in roughly 16 panes.
  2. Leave four or more of those agents working at the same time.
  3. Watch any pane where Claude Code prints a permission prompt or a selection menu.
  4. The viewport scrolls up a few lines and then snaps back to the bottom.

Impact

It is hard to read agent output while it arrives. When I am reviewing what an agent did, the jump moves the text I am reading, and I lose my place and have to scroll back. With several agents running it happens often enough to interrupt reviewing throughout the day.

Environment

  • Herdr version: 0.8.0
  • Update channel (stable or preview): stable
  • Operating system: Windows 11, WSL2, Ubuntu 22.04.5 LTS
  • Terminal: Windows Terminal
  • Shell, if relevant: fish
  • Relevant config, if any: ui.pane_scrollbars at its default of true, experimental.pane_history = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintainer-neededrequires maintainer judgment or maintainer-only reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions