Skip to content

Updated useCursor to support cursor styles updating #2427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivoilic
Copy link

@ivoilic ivoilic commented Apr 20, 2025

Adds onPointerOver and onPointerOut as dependencies of the useEffect hook inside of useCursor.

Why

The cursor styles currently don't update once they have been set.

What

I added onPointerOver and onPointerOut as dependencies of the useEffect hook inside of useCursor.

Checklist

  • Documentation updated (example)
  • Storybook entry added (example)
  • Ready to be merged

Adds `onPointerOver` and `onPointerOut` as dependencies of the useEffect hook inside of useCursor.
Copy link

vercel bot commented Apr 20, 2025

@ivoilic is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant