From b1346cbe9074a789ad0d845b8d3dc1c4f492d65e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Thu, 19 Feb 2026 20:06:25 +0100 Subject: [PATCH] fix(mobile-menu): isolate mobile menu from hx-boost to prevent state persistence issues --- default.hbs | 8 ++++---- partials/mobile-menu.hbs | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/default.hbs b/default.hbs index 3876651..573e9e9 100644 --- a/default.hbs +++ b/default.hbs @@ -39,9 +39,11 @@ {{ghost_head}} - + + {{!-- Mobile menu stays outside the boosted area to persist state --}} + {{> mobile-menu}} -
+
{{> header}}
@@ -49,8 +51,6 @@
{{> footer}} - - {{> mobile-menu}}
{{ghost_foot}} diff --git a/partials/mobile-menu.hbs b/partials/mobile-menu.hbs index 73f982c..3b48555 100644 --- a/partials/mobile-menu.hbs +++ b/partials/mobile-menu.hbs @@ -1,7 +1,14 @@