[#1370] added IME status checking to the textarea keydown handler
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
//
|
||||
// note: New line could be added using "Enter+Shift".
|
||||
function handleKeydown(e) {
|
||||
if (e?.code === "Enter" && !e?.shiftKey) {
|
||||
if (e?.code === "Enter" && !e?.shiftKey && !e?.isComposing) {
|
||||
e.preventDefault();
|
||||
|
||||
// trigger parent form submission (if any)
|
||||
|
||||
Reference in New Issue
Block a user