diff --git a/src/Squidex/app/framework/angular/modals/modal.directive.ts b/src/Squidex/app/framework/angular/modals/modal.directive.ts index c1de0d80a..c33912b28 100644 --- a/src/Squidex/app/framework/angular/modals/modal.directive.ts +++ b/src/Squidex/app/framework/angular/modals/modal.directive.ts @@ -146,9 +146,7 @@ export class ModalDirective implements OnDestroy { } for (let node of this.renderRoots) { - const bounds = node.getBoundingClientRect(); - - if (bounds.width > 0 && bounds.height > 0 && node.contains(event.target)) { + if (node.contains(event.target)) { return true; } }