diff --git a/apps/client/src/widgets/dialogs/confirm.tsx b/apps/client/src/widgets/dialogs/confirm.tsx index 28c9fcc4a..e7ced3131 100644 --- a/apps/client/src/widgets/dialogs/confirm.tsx +++ b/apps/client/src/widgets/dialogs/confirm.tsx @@ -54,6 +54,7 @@ function ConfirmDialogComponent() { }} /> } show={shown} + stackable > {!opts?.message || typeof opts?.message === "string" ?
{(opts?.message as string) ?? ""}
diff --git a/apps/client/src/widgets/dialogs/info.tsx b/apps/client/src/widgets/dialogs/info.tsx index 5fcb4aa49..9eaf81b50 100644 --- a/apps/client/src/widgets/dialogs/info.tsx +++ b/apps/client/src/widgets/dialogs/info.tsx @@ -32,6 +32,7 @@ function ShowInfoDialogComponent() { onClick={() => setShown(false)} />} show={shown} + stackable > ); diff --git a/apps/client/src/widgets/dialogs/note_type_chooser.tsx b/apps/client/src/widgets/dialogs/note_type_chooser.tsx index f2def35b1..f7a535fe9 100644 --- a/apps/client/src/widgets/dialogs/note_type_chooser.tsx +++ b/apps/client/src/widgets/dialogs/note_type_chooser.tsx @@ -81,6 +81,7 @@ function NoteTypeChooserDialogComponent() { setShown(false); }} show={shown} + stackable > } show={shown} + stackable > (null); const modalInstanceRef = useRef(); const formRef = _formRef ?? useRef(null); @@ -94,7 +98,7 @@ export default function Modal({ children, className, size, title, header, footer return; } if (show) { - openDialog(parentWidget.$widget).then(($widget) => { + openDialog(parentWidget.$widget, !stackable).then(($widget) => { modalInstanceRef.current = BootstrapModal.getOrCreateInstance($widget[0]); }) } else {