AletheiaFact / AletheiaFact/aletheia

Bug: The Enter key is performing an unexpected action.

Aperta
#2,055 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug tech
Lingua principale
TypeScript
Stelle
55
Fork
20
Merge medio
2g 6h
PR unite (30g)
2

Descrizione

### Background Information

1. In the First Text Field: Behavior is normal. The Enter key performs its function of creating a new line/paragraph.

2. In Other Fields (Starting with the Second): When you press the Enter key, the cursor does not create a new line, but rather moves the focus to the text field immediately above it in the form.

https://jam.dev/c/9c492aa6-5fb2-4bd1-a809-21f5e9042b69

### Steps to Reproduce

Given that you are on a personality page
When you start checking a sentence
Then the form modal will open
When I write in the second text field of the form.
Then press the Enter key on the keyboard.
Result: The cursor jumps and moves the focus to the first text field.

### How

_No response_

### Expected Behavior

When you press the Enter key in any multi-line text field, the cursor should insert a line break (create a new paragraph).

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.