Skip to content

Commit 6ce0b61

Browse files
author
Stefano Vavassori
committed
fix fluid-cursor click events
1 parent d791a15 commit 6ce0b61

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/components/fluid-cursor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const metadata = {
22
title: 'Fluid Cursor Effect',
33
description:
4-
'An interactive React component that adds a dynamic bubble effect, visually tracking cursor movement in real time.',
4+
'An interactive React component that adds a dynamic fluid effect, visually tracking cursor movement in real time.',
55
};
66

77
<ComponentCodePreview name='fluid-cursor' />

registry/components/cursor/common/fluid-cursor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const FluidCursor = () => {
99
}, []);
1010

1111
return (
12-
<div className='fixed top-0 left-0 z-2'>
12+
<div className='fixed top-0 left-0 z-2 pointer-events-none'>
1313
<canvas id='fluid' className='w-screen h-screen' />
1414
</div>
1515
);

0 commit comments

Comments
 (0)