openclaw - 💡(How to fix) Fix Bug: Control UI 授权弹窗超出浏览器界面,无法点击确认 [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#52257Fetched 2026-04-08 01:13:39
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
commented ×1mentioned ×1subscribed ×1
RAW_BUFFERClick to expand / collapse

问题描述

在 Control UI 界面中,当弹出授权窗口(如执行命令需要批准时),弹窗位置超出浏览器可视区域,导致无法点击确认/拒绝按钮。

复现步骤

  1. 通过 Control UI 界面发送一个需要执行权限的命令
  2. 系统弹出授权批准窗口
  3. 弹窗位置在屏幕上方,超出浏览器可视区域
  4. 无法点击确认按钮

预期行为

授权弹窗应该在浏览器可视区域内居中显示,用户可以正常点击确认/拒绝按钮。

实际行为

弹窗位置偏上,部分或全部超出可视区域,无法操作。

环境信息

  • OpenClaw 版本:2026.3.13 (61d171a)
  • 浏览器:Chrome/Safari/Firefox(请补充)
  • 操作系统:macOS

建议

  • 弹窗应使用 position: fixed 并居中于视口
  • 考虑添加 max-height 和滚动支持
  • 确保 z-index 足够高,不被其他元素遮挡

截图

(如有截图请补充)

extent analysis

Fix Plan

To fix the issue of the authorization popup window being cut off outside the browser's visible area, we need to adjust the CSS styling of the popup.

  • Use position: fixed to ensure the popup remains in the same position relative to the viewport.
  • Center the popup both horizontally and vertically within the viewport.
  • Consider adding max-height and implementing scrolling to handle content that exceeds the viewport height.
  • Ensure the z-index is sufficiently high to prevent the popup from being obscured by other elements.

Example Code

.authorization-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: 90vh; /* Adjust based on your design */
  overflow-y: auto; /* Add scrolling if content exceeds max-height */
  z-index: 1000; /* Ensure this is higher than other elements */
}

Verification

To verify the fix, follow these steps:

  1. Apply the CSS changes to your authorization popup.
  2. Trigger the popup through the Control UI interface.
  3. Verify the popup is centered within the viewport and fully visible.
  4. Test with different screen sizes and orientations to ensure responsiveness.
  5. Confirm that the z-index is sufficient by checking that the popup appears on top of all other elements.

Extra Tips

  • Ensure to test across various browsers (Chrome, Safari, Firefox) and operating systems (including macOS) to confirm compatibility.
  • Consider adding media queries to handle different screen sizes and devices more effectively.
  • For dynamic content, you may need to adjust the max-height and scrolling behavior based on the content's size.

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 Bug: Control UI 授权弹窗超出浏览器界面,无法点击确认 [1 comments, 2 participants]