Skip to content
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

useHover has incorrect state when the component is mounted below the cursor #263

Open
odin-nido opened this issue Nov 14, 2023 · 0 comments

Comments

@odin-nido
Copy link

When the component using this hook is mounted below the current cursor position, the returned state is false when it should be true.
On the hook's page, there is a playground where you can verify this in practice:

  1. Access the page;
  2. Locate the playground;
  3. Position the cursor over the element;
  4. Reload the page.
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

No branches or pull requests

1 participant