Skip to content

React Pose: PoseGroup does not animate elements before the one being removed #682

Closed
@esquevin

Description

@esquevin

Describe the bug

Not all elements are being animated when a PoseGroup child is removed / added

How to reproduce

Steps to reproduce the behavior:

  1. Go to https://codesandbox.io/s/m4j1py31xx
  2. Click on one of the middle elements
  3. You can see elements on the right smoothly translating to their new position while elements on the left jump to their new position without animation

This behavior is even more obvious when clicking on the leftmost or rightmost element

Expected behaviour

I'd expect all elements to be transitionned to their new position

Device information

In which environment are you reproducing the bug?

  • Device: [e.g. iPhone6]
  • OS: macOS
  • Browser: chrome, safari
  • Version 4.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions