Safari端, 无法正确选择和编辑 回答中的长文本
📦 部署环境
Vercel
📦 部署模式
客户端模式(lobe-chat 镜像)
📌 软件版本
1.84.27
💻 系统环境
iOS
🌐 浏览器
Safari
🐛 问题描述
正常情况下, 编辑回答文本时, 点击文字会有闪烁光标并弹出输入法. 1 但当回答字数较多时, 后半部分文字 无法通过点击文字 出现闪烁光标并弹出输入法.
2, 在编辑状态下, 前半部分文字, 长按呼出黑色光标的文字选择功能( 不太清楚为啥是黑色的, 可能是lobechat特有的?) 在后半部分文字, 会呼出ios系统的蓝色光标文字选择功能, 但无法正常使用, 一旦移动选中长度, 便会乱飞.
3, 黑色光标的文字选择功能仅能选中少量文字, 文字变多后无法继续选中后面的文字. 表现见附件
📷 复现步骤
使用ios18.4.1的iPhone, 用safari进入lobe chat客户端网页. 让任意AI产生超过2000 token的长度的文字. 然后编辑回复中的文本. 测试选择并修改后半部分的文字.
🚦 期望结果
可正常选择修改文字
📝 补充信息
https://github.com/user-attachments/assets/8ed459f0-c255-453c-977c-0df189daea84
👀 @Henry-Suen
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
📦 Deployment environment
Vercel
📦 Deployment mode
Client mode (lobe-chat mirroring)
📌 Software version
1.84.27
💻 System environment
iOS
🌐 Browser
Safari
🐛 Question description
Under normal circumstances, when editing the answer text, clicking on the text will bring a flashing cursor and the input method will pop up. 1 However, when the number of words in the answer is large, the second half of the text cannot be clicked on the text, and the input method will pop up.
-
In the editing state, in the first half of the text, press and call out the text selection function of the black cursor (I don’t know why it is black, maybe it is unique to lobechat?) In the second half of the text, the blue cursor text selection function of the iOS system will be called out, but it cannot be used normally. Once the length is moved, it will fly randomly.
-
The text selection function of the black cursor can only select a small number of text. After the text increases, the following text cannot be selected. See attachment for performance
📷 Reproduction steps
Using an iPhone in iOS18.4.1, use safari to enter the lobe chat client web page. Let any AI generate text with a length of more than 2000 tokens. Then edit the text in the reply. Test to select and modify the text in the second half.
🚦 Expected results
You can choose to modify text normally
📝 Supplementary information
https://github.com/user-attachments/assets/8ed459f0-c255-453c-977c-0df189daea84
要解决在 iOS 的 Safari 浏览器中使用 lobe-chat 客户端模式时无法选择和编辑长文本的问题,建议更新到 lobe-chat 的版本 0.155.6。此版本包含了专门针对编辑长消息问题的修复 [1]。
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
要解决在 iOS 的 Safari 浏览器中使用 lobe-chat 客户端模式时无法选择和编辑长文本的问题,建议更新到 lobe-chat 的版本 0.155.6。此版本包含了专门针对编辑长消息问题的修复 [1]。
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
@dosu 不是同一个问题. 并且0.155.6是半年前的版本. 我是最新版
在最新版 1.84.27 中,关于 Safari 上文本选择和编辑的问题,目前没有找到相关的已知问题或修复记录。可以尝试以下步骤来排查问题:
- 检查浏览器设置:确保 Safari 的 JavaScript 和其他相关设置已启用。
- 测试其他设备:如果可能,尝试在其他 iOS 设备上测试,以确定问题是否与特定设备有关。
- 查看控制台错误:在 Safari 的开发者工具中查看是否有任何错误信息。
- 联系维护者:如果问题持续存在,建议在 GitHub 上提交详细的错误报告,附上复现步骤和设备信息,以便开发者进一步调查。
如果有更多的更新或修复信息,我会及时告知。
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
fixed on https://github.com/lobehub/lobe-ui/commit/353639463df319634da70ed1d95d6b4708310b5b @arvinxx
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
fixed on https://github.com/lobehub/lobe-ui/commit/353639463df319634da70ed1d95d6b4708310b5b @arvinxx
✅ @Henry-Suen
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.