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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Reorder doesn't work at all with React 18 (framer-motion 8 works) #2351

Closed
Megamannen opened this issue Sep 28, 2023 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Megamannen
Copy link

1. Read the FAQs 馃憞

2. Describe the bug
Reorder breaks down after some moves.
It stops working completely or just stops putting things in the correct order

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/s/framer-motion-5-drag-to-reorder-lists-forked-zx5sc7

4. Steps to reproduce

Steps to reproduce the behavior:

  1. Move the items around, it will break, for example
  • Tomato to 3
  • Tomato to 1
  • Tomato to 2 (can't do it)

5. Expected behavior
That reorder works

6. Video or screenshots

7. Environment details
Firefox, Linux
(But also noticed in Windows + Edge or Chrome, unsure)

@Megamannen Megamannen added the bug Something isn't working label Sep 28, 2023
@NunesClement
Copy link

The problem appeared in framer-motion: 10.12.7, you can rollback to this version.

@mattgperry
Copy link
Collaborator

Collecting here #2476

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

No branches or pull requests

3 participants