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

Fix useMove docs to be more clear when events start #6952

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/@react-aria/interactions/docs/useMove.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ keywords: [move interactions, move events, drag, touch, mouse, keyboard, aria]
## Features

`useMove` handles move interactions across mouse, touch, and keyboard. A move interaction starts when a
user presses down with a mouse or their finger on the target, and ends when they lift their pointer. Move
user moves after pressing down with a mouse or their finger on the target, and ends when they lift their pointer. Move
events are fired as the pointer moves around, and specify the distance that the pointer traveled since the last
event. In addition, move events are fired when the user focuses the target element and uses the arrow keys.
event. In addition, after a user focuses the target element, move events are fired when the user presses the arrow keys.

* Handles mouse and touch events
* Handles arrow key presses
Expand Down