From 207c5bea4937c34374f07151c61eba6e42d09180 Mon Sep 17 00:00:00 2001 From: Akash Kava <39438041+ackava@users.noreply.github.com> Date: Thu, 10 Oct 2024 16:02:53 +0530 Subject: [PATCH] Added fixed for body's child --- src/web/services/PopupWindow.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/web/services/PopupWindow.tsx b/src/web/services/PopupWindow.tsx index 252f3562..12ce340c 100644 --- a/src/web/services/PopupWindow.tsx +++ b/src/web/services/PopupWindow.tsx @@ -183,6 +183,10 @@ const focus = (popup: PopupWindow) => { `.installGlobal("[data-popup-window=popup-window]") + styled.css ` + position: fixed; + `.installGlobal("body > div[data-popup-window=popup-window], body > div[data-window-modal-background]"); + export default class PopupWindow extends AtomControl { public static async showWindow(options?: IDialogOptions): Promise;