chaitin / chaitin/MonkeyCode

复制 Markdown 按钮与右侧对话预览悬浮控件点击区域冲突

Open
#790 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
4.7k
Forks
719
Avg merge
4h 30m
Merged PRs (30d)
83

Description

问题描述

在 MonkeyCode 对话内容中点击“复制 Markdown/复制模板”等复制按钮时,右侧的对话预览悬浮控件会与复制按钮产生交互冲突。

具体表现:

  1. 鼠标移动到内容区域右侧准备点击复制按钮时,右侧竖向圆点/复制图标样式的对话预览悬浮控件会弹出。
  2. 悬浮控件与复制按钮或点击路径位置接近,容易覆盖、抢占或干扰复制按钮的点击。
  3. 用户想复制 Markdown 内容时,会误触发右侧悬浮控件,导致复制操作不够稳定。

期望效果

复制 Markdown/复制模板按钮应当可以被直接、稳定点击;右侧对话预览悬浮控件需要做前端交互优化,例如避让内容操作按钮、调整触发区域/层级、增加触发延迟或在复制按钮附近禁用悬浮触发,避免两者点击区域冲突。

用户 ID

019d4411-3dd6-7435-a7c6-763f8b3a0c73

截图

Image Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the conflict in MonkeyCode conversation content using the Markdown/template copy buttons and the right-side conversation preview control. Inspect the frontend interaction and hit-area behavior around these controls; done means the copy buttons can be clicked reliably without the floating control appearing, overlapping, or intercepting the click.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.