mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(input): compositionend event is removed on unmount (#26806)
resolves #26805
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user