Skip to content

Commit

Permalink
fix(module:mention): fix wrong event listener
Browse files Browse the repository at this point in the history
  • Loading branch information
simplejason committed Feb 25, 2022
1 parent 838de5f commit a156afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mention/mention-trigger.ts
Expand Up @@ -115,7 +115,7 @@ export class NzMentionTriggerDirective implements ControlValueAccessor, OnDestro
this.setupEventListener('focusin', this.onFocusin);
this.setupEventListener('input', this.onInput, true);
this.setupEventListener('click', this.onClick, true);
this.setupEventListener('keydown', this.onInput, true);
this.setupEventListener('keydown', this.onKeydown, true);
}

ngOnDestroy(): void {
Expand Down

0 comments on commit a156afc

Please sign in to comment.