openclaw - 💡(How to fix) Fix Control UI: Long command outputs push approval buttons off screen [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#60496Fetched 2026-04-08 02:50:22
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
0
Timeline (top)
commented ×1
RAW_BUFFERClick to expand / collapse

Problem

When the assistant sends a long shell command that requires approval, the command output in the approval card can be very large (e.g., listing 146 emails, running a multi-source briefing). This pushes the approve/deny buttons below the visible viewport with no way to scroll to them or collapse the output.

Repro

  1. Have the assistant run a command that produces 50+ lines of output
  2. The approval card renders with full output
  3. Buttons are off-screen and inaccessible

Proposed Fixes

  • Sticky approval buttons: Pin the approve/deny buttons to the bottom of the approval card so they're always visible
  • Collapsible command output: Show first ~10 lines with a "show more" expansion
  • Max height with scroll: Cap the approval card height and make the output section scrollable
  • Any combination of the above

Environment

  • openclaw-control-ui (webchat)
  • Tested with long exec commands (inbox sweep, briefing runs)

extent analysis

TL;DR

Implementing a combination of sticky approval buttons and collapsible command output is likely to fix the issue of inaccessible approve/deny buttons in the approval card.

Guidance

  • Consider implementing sticky approval buttons to ensure they remain visible at the bottom of the approval card.
  • Introduce a collapsible command output feature to display only the first few lines of output, with an option to expand and view the full output.
  • Evaluate the effectiveness of capping the approval card height and making the output section scrollable as an alternative or complementary solution.
  • Test the proposed fixes with various long commands to ensure the approve/deny buttons remain accessible in different scenarios.

Example

<!-- Example of collapsible command output -->
<div class="command-output">
  <div class="output-summary" style="height: 50px; overflow: hidden;">
    <!-- Display first 10 lines of output -->
  </div>
  <button class="show-more">Show more</button>
  <div class="output-full" style="display: none;">
    <!-- Display full output -->
  </div>
</div>

Notes

The best approach may depend on the specific requirements and constraints of the openclaw-control-ui webchat application. It's essential to test and refine the chosen solution to ensure a smooth user experience.

Recommendation

Apply a workaround by implementing a combination of sticky approval buttons and collapsible command output, as this approach addresses the issue of inaccessible buttons while providing a flexible and user-friendly solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Control UI: Long command outputs push approval buttons off screen [1 comments, 2 participants]