AletheiaFact / AletheiaFact/aletheia

Bug: Issue with Deleting Entire Text in Sentence Review Field (Mobile)

未关闭
#1,412 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug tech
主要语言
TypeScript
星标
55
派生
20
平均合并
2 天 6 小时
30 天内合并 PR
2

描述

### Background Information

When adding a sentence review on a mobile device, attempting to delete the text does not remove the first letter, which remains in the field.

https://drive.google.com/file/d/1bRrrEqkGgOL9ZUeTfaUIa0o3w7fVoQyY/view?usp=drive_link

### Steps to Reproduce

1. Select a personality that has an assertion.
2. Access the text via the “see full text” option.
3. Select any sentence to start a fact-check.
4. Begin the fact-check process.
5. Enter text in the form fields.
6. Delete the text until only the first letter remains.
7. Check if the first letter has been completely deleted or remains in the field.
8. Verify if the entire text has been removed and if the text cursor stays within the input field, or if it incorrectly moves up to the question field above, where editing is not allowed.

### How

One possible approach for investigation could be to add an additional validation to the text field to ensure it is fully cleared, including the first letter, before completing the insertion action. Additional testing across different browsers and mobile devices may help identify if the behavior varies by environment.

### Expected Behavior

The delete action should remove all text from the field, leaving no residual letters. The text cursor should remain in the input field for typing, without exceeding the limit or moving up to the question field, where modifications are not permitted.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。