Skip to content
Closed
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@
}
}

// Allow Backspace and Delete keys to be handled by the browser's default behavior
// This is especially important for mobile soft keyboards (e.g., Android)
// The oninput event will handle the text changes and propagate them to managed code
// However, exclude Ctrl/Cmd+Backspace/Delete as those need to be handled by managed code for word deletion
if ((ev.key === "Backspace" || ev.key === "Delete") && !ev.ctrlKey && !ev.metaKey) {
return;
}
Comment on lines +103 to +105

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This issue needs to be tested manually before being merged.


ev.preventDefault();
};

Expand Down
Loading