diff --git a/libs/sketch/src/lib/components/dialog/dialog.component.html b/libs/sketch/src/lib/components/dialog/dialog.component.html index 2ecd968..cf6f05c 100644 --- a/libs/sketch/src/lib/components/dialog/dialog.component.html +++ b/libs/sketch/src/lib/components/dialog/dialog.component.html @@ -3,7 +3,7 @@ #dialogElement skClickBackdrop (clickedBackdrop)="close.emit()" - (keydown.escape)="close.emit()" + (keydown.escape)="handleEscape($event)" [class.display-flex]="open()" >