From f8e67f0d98e768ffefd24c02788b358ec1d543a6 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 16 Sep 2024 13:32:17 -0300 Subject: [PATCH] VnImg prevent other events when clicking image --- src/components/ui/VnImg.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/VnImg.vue b/src/components/ui/VnImg.vue index 132c1431..6a459020 100644 --- a/src/components/ui/VnImg.vue +++ b/src/components/ui/VnImg.vue @@ -93,7 +93,7 @@ const url = computed(() => { class="main-image" :src="url" v-bind="$attrs" - @click="showZoom = !showZoom" + @click.stop.prevent="showZoom = !showZoom" spinner-color="primary" :width="props.width" :height="props.height"