Skip to content

Animation Broken with 2.0 #164

Open
Open
@lilbumblebear

Description

@lilbumblebear

Hi, I am using 1.8.5 and having no issues. When I install 2.0, new children animate in, but nothing animates out. I cannot find out how to change my code to make it work with v2.0.

Do you have an example of how to adjust the following to work with v2.0?

<QueueAnim key={'animation'}
                           type={['right', 'scale']}
                           delay={[750, 0]}
                           ease={['easeOutBack', 'easeInOutCirc']}
                           leaveReverse={true}
                           duration={[750, 750]}
                           animConfig={{opacity: [1, 0]}}>
                    <MyComponent key={'step-' + currentstep} />
</QueueAnim>

My component changes as the current step changes, which makes the key and component render differently.

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