Fix: Bottom-Nav position:fixed zurück — #app fixed+inset:0 verhindert Drift, nav erreicht Bildschirmrand, SW by-v530

This commit is contained in:
rene 2026-04-30 08:21:25 +02:00
parent cd5688ae8f
commit b62d1ba933
3 changed files with 10 additions and 5 deletions

View file

@ -25,7 +25,7 @@
overflow-y: auto;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
padding-bottom: var(--space-4);
padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px);
}
/* Vollbild-Seiten: #page-content kein Scroll */
@ -177,8 +177,13 @@ body.page-fullscreen #page-content {
3. BOTTOM NAVIGATION (Mobile)
------------------------------------------------------------ */
#bottom-nav {
/* Flex-Kind statt position:fixed — kein iOS-Drift mehr */
flex-shrink: 0;
/* position:fixed relativ zum Viewport da #app kein transform hat,
ist dies stabil. Scroll passiert in #page-content (overflow-y:auto),
nicht im window kein iOS-Drift. */
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 700;
min-height: calc(var(--nav-bottom-height) + var(--safe-bottom));
padding-top: var(--space-1);

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '506'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '507'; // ← 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';

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v529';
const CACHE_VERSION = 'by-v530';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache