From 3b9f0df2ecf8a8605aff684570f384d0df302e1e Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 25 Apr 2026 23:04:32 -0700 Subject: [PATCH 1/2] fix(guidance): hide geocode-bar when starting navigation from it MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The geocode-bar in peek state covers the bottom ~130 px of the viewport (z-index 1500) above all Leaflet controls. Its drag handle has pointer-events: auto and spans the bar's full width, sitting at the top of the visible peek area. The bottom-left cluster (locate, guidance-panel, zoom, scale, version, attribution) stacks 140-160 px tall, so the guidance pill's Stop button is at the same y-coordinate as the bar's handle. The handle catches every tap intended for Stop — the user reported the button "doesn't respond like it's not a button". Once Navigate is tapped from the bar, the destination is in the guidance pill and the bar is redundant. Hiding it removes the overlap entirely. Closes #175 Co-Authored-By: Claude Opus 4.7 (1M context) --- src/geocoding.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/geocoding.ts b/src/geocoding.ts index 9006859..6811ab6 100644 --- a/src/geocoding.ts +++ b/src/geocoding.ts @@ -481,6 +481,11 @@ export function addReverseGeocoding( showToast('No destination set'); return; } + // Hide the geocode-bar before starting guidance: the bar's drag-handle has + // pointer-events: auto and sits at the top of its 130px peek area, which + // overlaps the guidance pill's Stop button at the bottom-left and steals + // the tap (#175). + hideGeocodeBar(); void startGuidance( state, map, From f364332b7ad633a4b3e384ac26d4b19f2c2e328e Mon Sep 17 00:00:00 2001 From: Test Date: Sat, 25 Apr 2026 23:06:43 -0700 Subject: [PATCH 2/2] fix: trim hide-bar comment to one line per CLAUDE.md Per PR #176 review nit. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/geocoding.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/geocoding.ts b/src/geocoding.ts index 6811ab6..e75a89d 100644 --- a/src/geocoding.ts +++ b/src/geocoding.ts @@ -481,10 +481,7 @@ export function addReverseGeocoding( showToast('No destination set'); return; } - // Hide the geocode-bar before starting guidance: the bar's drag-handle has - // pointer-events: auto and sits at the top of its 130px peek area, which - // overlaps the guidance pill's Stop button at the bottom-left and steals - // the tap (#175). + // Bar's drag-handle overlaps the guidance pill's Stop button at this y-coord (#175). hideGeocodeBar(); void startGuidance( state,