Revert nav: Original-Layout restauriert + overscroll-behavior:none — SW by-v535, APP_VER 512

This commit is contained in:
rene 2026-04-30 09:00:30 +02:00
parent 9506eea0d9
commit 5a6ca5496b
4 changed files with 23 additions and 38 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '511'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '512'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app';
@ -88,14 +88,9 @@ const App = (() => {
// ----------------------------------------------------------
// ROUTER
// ----------------------------------------------------------
const _FULLSCREEN_PAGES = new Set(['map', 'walks', 'sitting', 'chat']);
function navigate(pageId, pushHistory = true, params = {}) {
if (!pages[pageId]) return;
// Vollbild-Seiten benötigen window-scroll deaktiviert (iOS fixed-nav Fix)
document.body.classList.toggle('page-fullscreen', _FULLSCREEN_PAGES.has(pageId));
// Aktive Seite ausblenden
document.querySelector('.page.active')?.classList.remove('active');
document.querySelectorAll('.nav-item.active, .sidebar-item.active')