diff --git a/components/modal/modal.component.ts b/components/modal/modal.component.ts index f0c58866b6..7c4638b00e 100644 --- a/components/modal/modal.component.ts +++ b/components/modal/modal.component.ts @@ -76,7 +76,8 @@ export class ModalDirective implements AfterViewInit, OnDestroy { @HostListener('click', ['$event']) protected onClick(event:any):void { - if (event.target === this.element.nativeElement) { + if (this.config.backdrop !== 'static' && + event.target === this.element.nativeElement) { this.hide(event); } }