Skip to content

[BUG] AnimatePresence skips 3D Elements #2639

@koljam

Description

@koljam

2. Describe the bug

AnimatePresence skips motion.mesh elements when there are more than 4 currently exiting.

3. IMPORTANT: Provide a CodeSandbox reproduction of the bug

A CodeSandbox minimal reproduction
Important File: src\scene\Experience.jsx

4. Steps to reproduce

Steps to reproduce the behavior:

  1. Go to CodeSandbox
  2. See the animation
  3. See boxes vanishing every ~5 elements

5. Expected behavior

Every box should go up and vanish when this animation is done.

6. Video or screenshots

See CodeSandbox

7. Environment details

  • Chrome 124.0.6367.61
  • Windows 10

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