Browse Source

Modal fix.

pull/387/head
Sebastian Stehle 7 years ago
parent
commit
6034d888bb
  1. 4
      src/Squidex/app/framework/angular/modals/modal.directive.ts

4
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(<Node>event.target)) {
if (node.contains(<Node>event.target)) {
return true;
}
}

Loading…
Cancel
Save