diff --git a/src/gui/src/UI/Dashboard/UIDashboard.js b/src/gui/src/UI/Dashboard/UIDashboard.js index b1ac6c6c5..e6b5b3a9d 100644 --- a/src/gui/src/UI/Dashboard/UIDashboard.js +++ b/src/gui/src/UI/Dashboard/UIDashboard.js @@ -746,6 +746,12 @@ async function UIDashboard (options) { backdrop: true, close_on_backdrop_click: true, parent_center: true, + // Phones/tablets pin every .window to one z-index + // (style.css), which puts the fullpage dashboard + // above this dialog's backdrop wrapper; stay_on_top + // lifts the dialog into the 99999999+ band like + // every other backdropped dashboard dialog. + stay_on_top: true, }, }); }, diff --git a/src/gui/src/UI/UIWindowLogin.js b/src/gui/src/UI/UIWindowLogin.js index 281eff5a0..98f8d25dd 100644 --- a/src/gui/src/UI/UIWindowLogin.js +++ b/src/gui/src/UI/UIWindowLogin.js @@ -389,7 +389,10 @@ async function UIWindowLogin (options) { UIWindowRecoverPassword({ window_options: { backdrop: true, - stay_on_top: isMobile.phone, + // A stay-on-top login window (dashboard mode) sits in the + // 99999999+ band; this dialog must join it there or it + // opens buried under the login window's backdrop. + stay_on_top: isMobile.phone || !!options.window_options?.stay_on_top, close_on_backdrop_click: false, }, });