From a1b43f3deecff1ded140927a6f03e4e0ccde0307 Mon Sep 17 00:00:00 2001 From: Puru Vijay Date: Mon, 20 Feb 2023 16:59:45 +0530 Subject: [PATCH] Don't propagate PawCursor events --- docs/src/components/PawCursor.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/components/PawCursor.svelte b/docs/src/components/PawCursor.svelte index b66755d4e..bae646ece 100644 --- a/docs/src/components/PawCursor.svelte +++ b/docs/src/components/PawCursor.svelte @@ -68,7 +68,9 @@ let initialCursor = ''; el.addEventListener( 'mouseover', - () => { + (e) => { + e.stopPropagation(); + if (el.dataset.pawCursor === 'true') { showCustomCursor = true;