Skip to content

Commit

Permalink
fix: update hover detection to include 'auto' cursor style for Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjmoran committed Mar 2, 2025
1 parent 79827fe commit ceb780b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/components/Pointer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
isVisible = true;
if (target && target instanceof Element) {
const cursor = getComputedStyle(target).cursor;
isHovering = cursor === 'pointer';
isHovering = cursor === 'pointer' || cursor === 'auto';
}
}
};
Expand Down

0 comments on commit ceb780b

Please sign in to comment.