Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 对话模式,当输入长对话,变成“查看详情”后无法呼出删除菜单 #6643

Open
Cp0204 opened this issue Mar 2, 2025 · 7 comments
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@Cp0204
Copy link

Cp0204 commented Mar 2, 2025

📦 部署环境

Docker

📦 部署模式

客户端模式(lobe-chat 镜像)

📌 软件版本

v1.67.2

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

Image

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

@Cp0204 Cp0204 added the 🐛 Bug Something isn't working | 缺陷 label Mar 2, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Mar 2, 2025
@lobehubbot
Copy link
Member

👀 @Cp0204

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


📦 Deployment environment

Docker

📦 Deployment mode

Client mode (lobe-chat mirroring)

📌 Software version

v1.67.2

💻 System environment

Windows

🌐 Browser

Chrome

🐛 Question description

Image

📷 Reproduction steps

No response

🚦 Expected results

No response

📝 Supplementary information

No response

Copy link

dosubot bot commented Mar 2, 2025

Hello @Cp0204! I'm here to help you with any bugs, questions, or contributions. I'll assist you while we wait for a human maintainer.

The issue you're experiencing, where the delete menu cannot be triggered after a long message is collapsed into "查看详情" (View Details), might be related to specific conditions in the codebase. The 'MoreVertical' icon, which triggers the delete menu, may not be visible or clickable if certain conditions are met:

  1. showMore is false: The icon is only rendered when showMore is true.
  2. editing is true: The icon is not rendered when the item is in editing mode.
  3. Event Propagation: The onClick event handler for the div containing the Dropdown prevents default behavior and stops propagation, which could affect clickability if not handled correctly elsewhere [1].

Additionally, there is a known issue with editing long messages that was fixed in a previous version, which might be related to your problem [2].

If these conditions do not apply, it might be worth checking if there are any CSS or style rules affecting the visibility or interaction of the icon, although specific details on this were not found in the current data.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@arvinxx
Copy link
Contributor

arvinxx commented Mar 3, 2025

没懂,是左侧没显示删除按钮吗?

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Don’t understand, is it because the delete button is not displayed on the left?

@Cp0204
Copy link
Author

Cp0204 commented Mar 3, 2025

没懂,是左侧没显示删除按钮吗?

是的,没有像普通气泡一样,鼠标放上去弹出删除这条消息的悬浮菜单。

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


I don’t understand, is it because the delete button is not displayed on the left?

Yes, there is no floating menu that removes this message like a normal bubble.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants