From caa8719cea2f4b3b460551224a8c4a69bd29afeb Mon Sep 17 00:00:00 2001 From: Joe Woodhouse Date: Thu, 16 Feb 2023 16:15:30 +0000 Subject: [PATCH] fix(input): compositionend event is removed on unmount (#26806) resolves #26805 --- core/src/components/input/input.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/components/input/input.tsx b/core/src/components/input/input.tsx index d600d60de9..ef501bf7a7 100644 --- a/core/src/components/input/input.tsx +++ b/core/src/components/input/input.tsx @@ -298,7 +298,7 @@ export class Input implements ComponentInterface { const nativeInput = this.nativeInput; if (nativeInput) { nativeInput.removeEventListener('compositionstart', this.onCompositionStart); - nativeInput.removeEventListener('compositionEnd', this.onCompositionEnd); + nativeInput.removeEventListener('compositionend', this.onCompositionEnd); } }