antonmedv / antonmedv/codejar

Backspace forces cursor to end of text (Firefox)

Aperta
#115 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
firefox
Lingua principale
TypeScript
Stelle
2k
Fork
123
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Repro steps

Using Firefox 124/125, visit https://medv.io/codejar/, focus in the editor and delete all the code.

Enter the following code:

```javascript
const greet = (name) => {
console.log(5);
}

greet("World");
```

Place the cursor after the `5` and hit the Backspace key on your keyboard.

### Expected

Deletes `5` and cursor remains between parentheses.

### Actual

Deletes `5` and cursor jumps to the end of the file.

### Environment

Firefox 124/125, Windows/macOS.

Does not reproduce in Chrome or Safari.

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.