Skip to content

Decay seems not working anymore #1843

Description

@Emiliano-Bucci

Which react-spring target are you using?

  • @react-spring/web
  • @react-spring/three
  • @react-spring/native
  • @react-spring/konva
  • @react-spring/zdog

What version of react-spring are you using?

9.4.3

What's Wrong?

It seems that decay property isn't working

To Reproduce

https://codesandbox.io/s/react-spring-preset-configs-forked-me36vi?file=/src/App.js:684-695

Expected Behaviour

Decay should decelerate the animation correctly.

Link to repo

https://codesandbox.io/s/react-spring-preset-configs-forked-me36vi?file=/src/App.js:684-695

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: corerelates to core classes // parts of the librarykind: bugSomething isn't workingtype: good first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions