Skip to content

[BUG] Elements do not animate in latest React 19 canaries #2624

@ZipBrandon

Description

@ZipBrandon

1. Read the FAQs 👇

2. Describe the bug

Elements won't animate off their initial props since 19.0.0-canary-7a2609eed-20240403.

19.0.0-canary-48ec17b86-20240402 does work.

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug

https://github.com/ZipBrandon/framer-motion-initial-bug

4. Steps to reproduce

Steps to reproduce the behavior:

  1. git clone https://github.com/ZipBrandon/framer-motion-initial-bug && cd framer-motion-initial-bug && npm i && npm run dev
  2. See that the Test and Testing elements animate properly.
  3. Click the button to add a new element and see that it does not animate.

5. Expected behavior

Animations to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions