Fix: overscroll-behavior:none auf html/body/#page-content — iOS Bounce bewegt keinen fixed Nav mehr, SW by-v531

This commit is contained in:
rene 2026-04-30 08:29:55 +02:00
parent b62d1ba933
commit 460cc47844
4 changed files with 10 additions and 7 deletions

View file

@ -197,6 +197,7 @@ html {
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
scroll-behavior: smooth; scroll-behavior: smooth;
height: 100%; height: 100%;
overscroll-behavior: none; /* kein Window-Bounce auf iOS */
} }
body { body {
@ -207,6 +208,7 @@ body {
color: var(--c-text); color: var(--c-text);
background-color: var(--c-bg); background-color: var(--c-bg);
min-height: 100%; min-height: 100%;
overscroll-behavior: none;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

View file

@ -20,12 +20,13 @@
/* Content-Bereich scrollt intern */ /* Content-Bereich scrollt intern */
#page-content { #page-content {
flex: 1; flex: 1;
min-height: 0; min-height: 0;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
-webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: touch;
padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px); overscroll-behavior-y: none; /* verhindert iOS-Bounce → fixed Nav bleibt stabil */
padding-bottom: calc(var(--nav-bottom-height) + var(--safe-bottom) + 16px);
} }
/* Vollbild-Seiten: #page-content kein Scroll */ /* Vollbild-Seiten: #page-content kein Scroll */

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. Router, State-Management, Navigation, Initialisierung.
============================================================ */ ============================================================ */
const APP_VER = '507'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VER = '508'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt const APP_VERSION = '1.0.0'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app'; const IS_STAGING = location.hostname === 'staging.banyaro.app';

View file

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