Skip to content

Backspace forces cursor to end of text (Firefox) #115

@nalgeon

Description

@nalgeon

Repro steps

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

Enter the following code:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    firefoxA bug in FireFox itself

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions