From de8a5f1c00d07a3fbbed6d28082a567b1c3eeb5c Mon Sep 17 00:00:00 2001 From: sua yoo Date: Sat, 25 Feb 2023 19:54:58 -0800 Subject: [PATCH] fix: tag input target in chrome --- frontend/src/components/tag-input.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/tag-input.ts b/frontend/src/components/tag-input.ts index b2917f94..a8c7ab65 100644 --- a/frontend/src/components/tag-input.ts +++ b/frontend/src/components/tag-input.ts @@ -314,7 +314,7 @@ export class TagInput extends LitElement { } private onInput = debounce(200)(async (e: InputEvent) => { - const input = (e as any).originalTarget as HTMLInputElement; + const input = this.input!; this.inputValue = input.value; if (input.value.length) { this.dropdownIsOpen = true;