mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-17 19:48:14 +02:00
[#1370] added IME status checking to the textarea keydown handler
This commit is contained in:
1 parent
a00606d969
commit
d55610511d
29 files changed
+33
-33
No files matched your search
@@ -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