fix(core): update

This commit is contained in:
2023-09-13 16:46:00 +02:00
parent 32dd5e769b
commit 17d224332d
3 changed files with 21 additions and 6 deletions

View File

@ -38,7 +38,9 @@ export class DeesModal extends DeesElement {
modal.heading = optionsArg.heading;
modal.content = optionsArg.content;
modal.menuOptions = optionsArg.menuOptions;
modal.windowLayer = await DeesWindowLayer.createAndShow();
modal.windowLayer = await DeesWindowLayer.createAndShow({
blur: true,
});
modal.windowLayer.addEventListener('click', async () => {
await modal.destroy();
});