Skip to content

Add: useHover hook #4

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

Closed
6 of 9 tasks
endigo9740 opened this issue Apr 25, 2024 · 0 comments · Fixed by #34
Closed
6 of 9 tasks

Add: useHover hook #4

endigo9740 opened this issue Apr 25, 2024 · 0 comments · Fixed by #34
Assignees
Labels
feature request Request a new feature to add.
Milestone

Comments

@endigo9740
Copy link
Contributor

endigo9740 commented Apr 25, 2024

Reference

Docs: https://floating-ui.com/docs/useHover
Source: https://github.com/floating-ui/floating-ui/blob/master/packages/react/src/hooks/useHover.ts

Description

Opens the floating element while hovering over the reference element, like CSS :hover.

Options

  • enabled
  • mouseOnly
  • delay
  • restMs
  • move
  • handleClose

safePolygon

  • requireIntent
  • buffer
  • blockPointerEvents
@endigo9740 endigo9740 added the feature request Request a new feature to add. label Apr 25, 2024
@endigo9740 endigo9740 added this to the v1.0 milestone Apr 25, 2024
@Hugos68 Hugos68 mentioned this issue Apr 29, 2024
3 tasks
@Hugos68 Hugos68 self-assigned this May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a new feature to add.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants