Click event: revert document:click

This commit is contained in:
Konstantinos Triantafyllou 2022-04-17 15:30:21 +03:00
parent 7e9db1d0de
commit 0358887d4f
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export class ClickOutsideOrEsc {
constructor(private elementRef: ElementRef) {}
@HostListener('click', ['$event'])
@HostListener('document:click', ['$event'])
click(event) {
if(event.isTrusted) {
this.clickOutside.emit({