From e1bb35948a5ddefb3407b2a682149687b0e0a615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Sun, 26 Jul 2026 14:25:37 +0200 Subject: [PATCH] fix: prevent popup from reopening after adding favorite from map click MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add @click.stop modifier to the 'Add to favorites' button click handler in ClickSearchPopup to call event.stopPropagation(). Without it, the click event bubbles up through the Leaflet popup overlay to the map container, triggering onMapClick and opening a duplicate popup. Signed-off-by: Simó Albert i Beltran --- src/components/map/ClickSearchPopup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/ClickSearchPopup.vue b/src/components/map/ClickSearchPopup.vue index 8674e783e..5f55cdf20 100644 --- a/src/components/map/ClickSearchPopup.vue +++ b/src/components/map/ClickSearchPopup.vue @@ -8,7 +8,7 @@