AletheiaFact / AletheiaFact/aletheia

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

Ouverte
#1,412 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug tech
Langage dominant
TypeScript
Étoiles
55
Forks
20
Merge moyen
2 j 6 h
PR mergées (30 j)
2

Description

### 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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.