Skip to content

TimingAnimation: alternatives, bugs with newer versions #242

@runningjump

Description

@runningjump

Hey there! Thanks for all your work on such a wonderful library. My only frustrations thus far have revolved around timings.

It seems very strange to me that Spring components do not having a duration prop by default. The only way I've found to define the length of an animation is with TimingAnimation. Importing that from "react-spring/dist/addons" and adding it to the Spring via the impl prop worked fine, but felt a little convoluted. Is there any alternative for defining the length of each animation?

More importantly, this implementation seems to have broken in the last few weeks. When I upgraded from 5.6.6, TimingAnimation stopped working entirely. No errors were thrown, but my duration values -- as well as, notably, our delay values -- were ignored. Once we removed impl={TimingAnimation}, delay worked again, but we lost our duration and easing (obviously). Any idea what changed? Is this addon included some other way, now?

Thanks again!

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