Skip to content

Commit ceb780b

Browse files
committed
fix: update hover detection to include 'auto' cursor style for Safari
1 parent 79827fe commit ceb780b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/Pointer.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
isVisible = true;
4040
if (target && target instanceof Element) {
4141
const cursor = getComputedStyle(target).cursor;
42-
isHovering = cursor === 'pointer';
42+
isHovering = cursor === 'pointer' || cursor === 'auto';
4343
}
4444
}
4545
};

0 commit comments

Comments
 (0)