From f0d5c9cca63b88b271f339f0835f246b5a47e05b Mon Sep 17 00:00:00 2001 From: Ivo Fernandes Date: Tue, 26 Sep 2017 15:02:52 +0100 Subject: [PATCH] multiple popups and components in the same screen multiple popups in multiple components in the same screen creates a bug. This commit fix this problem with a css change Issue: https://github.com/ng2-ui/popup/issues/17 --- src/popup.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/popup.component.ts b/src/popup.component.ts index 1f01847..7e9de64 100644 --- a/src/popup.component.ts +++ b/src/popup.component.ts @@ -29,6 +29,8 @@ import { Ng2OverlayManager, Ng2Overlay, Ng2OverlayDirective } from 'ng2-overlay' border-radius: 5px; width: 600px; display: none; + position: absolute; + z-index: 100; } .popup-container.opened { display: block;