Skip to content

desktop: long question text cannot be scrolled, answer buttons unreachable #54035

Closed

Description

@thevladimirzh

Summary

When a question's text is long (a few paragraphs of markdown), the question panel in the desktop app doesn't scroll and the answer buttons ("Отправить" / dismiss) get pushed below the visible area, so the question cannot be answered — the user is stuck.

Environment

  • opencode version: v2.0.25
  • OS: Darwin 24.6.0 (darwin arm64, MacBook Air)
  • Terminal: Unavailable: not relevant — the question panel is rendered by the opencode desktop app, not a terminal
  • Shell: /bin/zsh
  • Install/channel: desktop app, release channel (latest)
  • Active plugins: none found in config

Reproduction

  1. Send the agent a task that requires user confirmation of a long text.
  2. The agent asks a question whose question text contains several paragraphs (markdown with title, body, lists).
  3. The question panel opens in the desktop app.

Expected Behavior

The question body should scroll independently, keeping the header and the answer buttons always visible.

Actual Behavior

The whole panel is one non-scrollable block: long text overflows the viewport, the "Отправить" button ends up off-screen/barely visible, and the user cannot reliably select/submit an answer. (Screenshot available from the reporter.)

Additional Context

  • Reproducible whenever the question text is long; short questions render fine.
  • Markdown in the question body also appears unrendered (raw **bold**, backticks), which makes the wall of text even longer — may be the same component.
  • Workaround: none found; had to shorten the question text.

Activity

  1. opencode-agent commented on Oct 8, 2026

    @opencode-agent
    Contributor

    Thanks for the detailed report! I couldn't reproduce this here: it's in the desktop app's question panel, and our automated sandbox can only drive the terminal UI, so a maintainer with the desktop app will need to confirm it.

    From reading the code (also on the latest v2, 5b31291): the question text is shown as plain text and sits outside the panel's only scrollable area, the options list. A long question can therefore push the options and the Submit button out of view, which matches what you saw.

    Related:

    If you can, please attach the screenshot you mentioned. It would help confirm the desktop case.

  2. thevladimirzh commented on Oct 9, 2026

    @thevladimirzh
    Author

    Correction from the reporter: this happens in the desktop app (not the CLI/TUI). Environment line should read: opencode desktop v2.0.25, macOS 24.6.0 (darwin arm64). The VS Code terminal details from the original report are irrelevant — the question panel is rendered by the desktop app itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions