fix(map): unify dismiss logic on map click
This commit is contained in:
@ -179,7 +179,7 @@ async function initializeMap() {
|
||||
if (map.value) {
|
||||
// PERFORMANCE: Use passive listeners for native events if added (Google Maps doesn't expose this directly easily)
|
||||
map.value.addListener('click', () => {
|
||||
if (showETACard.value) showETACard.value = false;
|
||||
if (showETACard.value) handleETACardDismiss();
|
||||
});
|
||||
|
||||
// Detect user interaction with the map to show/hide location button
|
||||
|
||||
Reference in New Issue
Block a user