Skip to content
Snippets Groups Projects
Commit 8282bbd0 authored by tamaina's avatar tamaina
Browse files

fix(client): Chromeで検索ダイアログで変換確定するとそのまま検索されてしまう

Fix #9598
parent 7190bd00
No related branches found
No related tags found
No related merge requests found
......@@ -88,6 +88,8 @@ const onInput = (ev: KeyboardEvent) => {
emit('change', ev);
};
const onKeydown = (ev: KeyboardEvent) => {
if (ev.isComposing || ev.key === 'Process' || ev.keyCode === 229) return;
emit('keydown', ev);
if (ev.code === 'Enter') {
......
......@@ -119,6 +119,8 @@ export default defineComponent({
context.emit('change', ev);
};
const onKeydown = (ev: KeyboardEvent) => {
if (ev.isComposing || ev.key === 'Process' || ev.keyCode === 229) return;
context.emit('keydown', ev);
if (ev.code === 'Enter') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment