Skip to content

Commit

Permalink
solve for CloseOnEscape
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueTea committed May 2, 2024
1 parent b4b7a0b commit f0310f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/dynamicdialog/dynamicdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ export class DynamicDialogComponent implements AfterViewInit, OnDestroy {
}

bindGlobalListeners() {
if (this.config.closeOnEscape !== false && this.config.closable !== false) {
if (this.config.closeOnEscape !== false) {
this.bindDocumentEscapeListener();
}

Expand Down

0 comments on commit f0310f0

Please sign in to comment.