pmndrs / react-spring

✌️ A spring physics based React animation library
http://www.react-spring.dev/
MIT License
28.17k stars 1.19k forks source link

Decay seems not working anymore #1843

Open Emiliano-Bucci opened 2 years ago

Emiliano-Bucci commented 2 years ago

Which react-spring target are you using?

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

laxman-stan commented 1 year ago

hey @Emiliano-Bucci did you find any solution?