Skip to content

Commit

Permalink
Handle PROCESS keydown on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
cowuake committed May 1, 2024
1 parent 7183c4e commit 3e9cf38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions schemius-web/schemius.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,11 +285,11 @@ class Schemius {
} else if (e.key === "BACKSPACE") {
Schemius.handleDelete();
return false;
} else if (e.isComposing || e.keyCode === 229) {
} else if (e.key === "PROCESS" || e.keyCode === 229 || e.isComposing) {
// Handle keydown events during IME composition
// if (Schemius.isMobile()) {
// return false;
// }
if (Schemius.isMobile()) {
return false;
}
}
}

Expand Down

0 comments on commit 3e9cf38

Please sign in to comment.