Skip to content

Commit

Permalink
Don't propagate PawCursor events
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Feb 20, 2023
1 parent 632a7e4 commit a1b43f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/components/PawCursor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@
let initialCursor = '';
el.addEventListener(
'mouseover',
() => {
(e) => {
e.stopPropagation();
if (el.dataset.pawCursor === 'true') {
showCustomCursor = true;
Expand Down

1 comment on commit a1b43f3

@vercel
Copy link

@vercel vercel bot commented on a1b43f3 Feb 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.