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

[BUG] onDrag not firing for Reorder.Item #1348

Closed
heymartinadams opened this issue Nov 10, 2021 · 0 comments · Fixed by #1354
Closed

[BUG] onDrag not firing for Reorder.Item #1348

heymartinadams opened this issue Nov 10, 2021 · 0 comments · Fixed by #1354
Labels
bug Something isn't working

Comments

@heymartinadams
Copy link

heymartinadams commented Nov 10, 2021

1. Describe the bug

The prop onDrag doesn’t appear to be firing for Reorder.Item.

2. CodeSandbox reproduction of the bug

(open console in CodeSandbox)
https://codesandbox.io/s/framer-motion-5-drag-to-reorder-lists-forked-hd1z1?file=/src/Item.tsx

3. Steps to reproduce

Steps to reproduce the behavior:

  1. Integrated the new Reorder property of Framer-Motion 5
  2. Add onDrag property to Reorder.Item
  3. No output.

4. Expected behavior

Expect output. Need to get point.y position while dragging.

5. Environment details

macOS Monterey, Chrome

@heymartinadams heymartinadams added the bug Something isn't working label Nov 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant