From 2ccf75e076641f0231fffa286e39d1057dd888b2 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 5 Jun 2026 10:43:17 +0200 Subject: [PATCH] Karten-Fix: Overlay-Button-Zonen click-through (blockierten Karten-Pannen) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit René: 'wo die Karten-Buttons auftauchen ist eine Zone die Kartenbedienung verhindert'. .map-statusbar/.map-speed-dial/.map-crosshair/.map-search-wrap(inactive)/.map-rec-panel(inactive) fingen Touch in ihrer Bounding-Box → tote Zonen. Jetzt pointer-events:none, nur Buttons auto. Erklärt die 'reagiert nach kurzer Zeit'-Verzögerung (Drag startet tot, greift erst im Karten-Bereich). Gilt für beide Engines (verbessert auch Leaflet). --- VERSION | 2 +- backend/static/css/components.css | 10 ++++++++++ backend/static/index.html | 24 ++++++++++++------------ backend/static/js/app.js | 2 +- backend/static/landing.html | 2 +- backend/static/sw.js | 2 +- 6 files changed, 26 insertions(+), 16 deletions(-) diff --git a/VERSION b/VERSION index 03eda3b..0e129d2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1182 \ No newline at end of file +1183 \ No newline at end of file diff --git a/backend/static/css/components.css b/backend/static/css/components.css index 1f22ba8..e1ca1a3 100644 --- a/backend/static/css/components.css +++ b/backend/static/css/components.css @@ -3132,6 +3132,16 @@ html.modal-open { } .map-full { width: 100%; height: 100%; } +/* Karten-Overlays click-through: die Container der Buttons/Infos liegen über der + Karte und fingen Touch in ihrer GANZEN Bounding-Box ab → tote Zonen, in denen + sich die Karte nicht greifen/pannen ließ. Nur die echten Buttons fangen Touch. */ +.map-statusbar, +.map-crosshair, +.map-speed-dial, +.map-search-wrap:not(.active), +.map-rec-panel:not(.active) { pointer-events: none; } +.map-sd-trigger { pointer-events: auto; } + /* Legende: horizontaler Scroll-Strip oben */ .map-legend { position: absolute; diff --git a/backend/static/index.html b/backend/static/index.html index a9bde04..23fb7a4 100644 --- a/backend/static/index.html +++ b/backend/static/index.html @@ -86,14 +86,14 @@ Ban Yaro - + - - - - - + + + + + @@ -617,11 +617,11 @@ - - - - - + + + + + @@ -631,7 +631,7 @@ - + diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 77e40b1..f05bd5e 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '1182'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '1183'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VERSION = APP_VERSION; diff --git a/backend/static/landing.html b/backend/static/landing.html index 6de5e54..0f0d526 100644 --- a/backend/static/landing.html +++ b/backend/static/landing.html @@ -4,7 +4,7 @@ - + Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz diff --git a/backend/static/sw.js b/backend/static/sw.js index 6ac0e29..a29220a 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -4,7 +4,7 @@ ============================================================ */ // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab -const VER = '1182'; +const VER = '1183'; const CACHE_VERSION = `by-v${VER}`; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten