Guard Enter tag add during IME composition

This commit is contained in:
pixelpaws
2026-03-27 19:52:53 +08:00
parent 20e50156a2
commit 9121306b06
2 changed files with 54 additions and 0 deletions

View File

@@ -17,6 +17,10 @@ export class RecipeDataManager {
return;
}
if (event.isComposing || event.keyCode === 229) {
return;
}
event.preventDefault();
this.addTag();
});