From 9de71b766d589f44f0f94a8adc2366e0aeaebf97 Mon Sep 17 00:00:00 2001 From: litruv Date: Sun, 1 Nov 2026 11:32:50 +1100 Subject: [PATCH] Render the settings content when the compact master nav is empty. Closes #1. --- overlay/src/app/components/page/Page.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/overlay/src/app/components/page/Page.tsx b/overlay/src/app/components/page/Page.tsx index 8928765..3bebed0 100644 --- a/overlay/src/app/components/page/Page.tsx +++ b/overlay/src/app/components/page/Page.tsx @@ -22,7 +22,10 @@ export function PageRoot({ nav, children }: PageRootProps) { // Master list routes: only the channel/space list is interactive. // Never mount the detail/underlay stack here — an empty detail layer would // sit above the list with pointer-events and freeze taps (DM → space bug). - if (compact && showCompactMaster) { + // When nav is empty there is no master list to protect, so fall through to the + // detail branch. Settings is a modal, not a route: opening it from /home keeps + // the pathname a list route while Settings passes nav as undefined on mobile. + if (compact && showCompactMaster && nav) { return ( {nav}