diff --git a/ui/analyse/src/explorer/explorerConfig.ts b/ui/analyse/src/explorer/explorerConfig.ts index 17d0534ced52..2c7c468bf0a1 100644 --- a/ui/analyse/src/explorer/explorerConfig.ts +++ b/ui/analyse/src/explorer/explorerConfig.ts @@ -333,6 +333,7 @@ const playerModal = (ctrl: ExplorerConfigCtrl) => { ctrl.data.playerName.open(false); ctrl.root.redraw(); }, + modal: true, vnodes: [ h('h2', 'Personal opening explorer'), h('div.input-wrapper', [ diff --git a/ui/analyse/src/keyboard.ts b/ui/analyse/src/keyboard.ts index f170fb024f54..79ac69eb1d03 100644 --- a/ui/analyse/src/keyboard.ts +++ b/ui/analyse/src/keyboard.ts @@ -140,6 +140,7 @@ export function view(ctrl: AnalyseCtrl): VNode { return snabDialog({ class: 'help.keyboard-help', htmlUrl: xhr.url('/analysis/help', { study: !!ctrl.study }), + modal: true, onClose() { ctrl.keyboardHelp = false; ctrl.redraw(); diff --git a/ui/analyse/src/serverSideUnderboard.ts b/ui/analyse/src/serverSideUnderboard.ts index 670677529043..e8f68cc14cb9 100644 --- a/ui/analyse/src/serverSideUnderboard.ts +++ b/ui/analyse/src/serverSideUnderboard.ts @@ -150,7 +150,8 @@ export default function (element: HTMLElement, ctrl: AnalyseCtrl) { const url = `${baseUrl()}/embed/game/${data.game.id}?theme=auto&bg=auto${location.hash}`; const iframe = ``; domDialog({ - show: 'modal', + modal: true, + show: true, htmlText: '
${escaped}@@ -52,7 +53,7 @@ export async function initModule(): Promise