From a6ecb24e9e79e8ea33451b741e85b044cf16c5bb Mon Sep 17 00:00:00 2001 From: DecafDev <40307803+decaf-dev@users.noreply.github.com> Date: Fri, 26 Jul 2024 17:19:09 -0600 Subject: [PATCH] fix: stop navigation to file on property click --- src/svelte/shared/components/property.svelte | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/svelte/shared/components/property.svelte b/src/svelte/shared/components/property.svelte index 356800f..32b1050 100644 --- a/src/svelte/shared/components/property.svelte +++ b/src/svelte/shared/components/property.svelte @@ -20,7 +20,10 @@ plugin = p; }); - function handleClick() { + function handleClick(e: Event) { + //Don't click the card + e.stopPropagation(); + const searchPlugin = (plugin.app as any).internalPlugins.plugins[ "global-search" ];