makecindy / makecindy/cindy

侧边栏浏览器内网页弹窗超出面板边界,遮挡左侧聊天界面

Open
#2,521 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: xudong liu
**客户端版本**: 0.1.44

---

## 现象
在 Cindy 侧边栏中打开浏览器浏览网页时,网页内弹出的对话框(如表单确认弹窗)没有限制在浏览器面板范围内,浮层越过面板边界,遮挡了左侧聊天主界面(当时聊天区正打开一个文件预览)。

## 复现步骤
1. 在 Cindy 侧边栏打开浏览器,访问会在页面内弹出对话框的网站;
2. 触发网页内弹窗(例如点击按钮弹出带「保存 / 取消」的表单对话框);
3. 左侧聊天界面保持内容可见(本例中打开了一个文本文件预览);
4. 弹窗浮层覆盖到左侧聊天区域上方。

## 期望行为
网页弹窗应被限制在侧边栏浏览器面板区域内渲染,不遮挡聊天主界面。

## 实际行为
弹窗浮层超出浏览器面板边界,覆盖在左侧聊天界面(文件预览)之上,聊天内容被遮挡,无法正常查看。

## 复现频率
每次必现。

## 已尝试
暂未尝试任何处理。

## 诊断摘要(已脱敏,经用户同意)
- 窗口布局:左侧聊天主区域 + 右侧侧边栏浏览器;弹窗出现时聊天区正在预览一个约 6.3 KB 的文本文件;
- 弹窗为网页内对话框(非 window.open 新窗口),浮层向左溢出至聊天区域上方。
---
**OS**: darwin arm64 (25.5.0)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

Start at the Cindy sidebar browser and its surrounding panel layout, then reproduce the webpage dialog while the chat area has a file preview open. Trace how the browser panel bounds and webpage overlays are rendered; done means the dialog remains within the sidebar and no longer covers the chat area.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.