Skip to content

Commit

Permalink
Added fixed for body's child
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Oct 10, 2024
1 parent 3fcbdfe commit 207c5be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/web/services/PopupWindow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<T>(options?: IDialogOptions): Promise<T>;
Expand Down

0 comments on commit 207c5be

Please sign in to comment.