Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

fix: Pointer show up at init time (#853)

Yrobot8e56d60ac8ef
diff --git a/apps/www/registry/magicui/pointer.tsx b/apps/www/registry/magicui/pointer.tsx
index f6da4c15..f82baaf6 100644
--- a/apps/www/registry/magicui/pointer.tsx
+++ b/apps/www/registry/magicui/pointer.tsx
@@ -42,6 +42,7 @@ export function Pointer({
const handleMouseMove = (e: MouseEvent) => {
x.set(e.clientX)
y.set(e.clientY)
+ setIsActive(true)
}
const handleMouseEnter = (e: MouseEvent) => {