Open GibsDev opened 7 months ago
This is probably caused by exactly https://github.com/pmndrs/react-three-fiber/releases/tag/v8.16.1. Maybe try 8.16.0.
This does not work with 8.16.0
Do you still have the project around or a lockfile you can provide? I'm expecting the versions to be misleading if you specified them with ^x.x.x
which upgrades to the latest version always. If you remove ^
, your package manager will install the exact version you specified.
This seems to be related to the problem in this react-spring issue, but I've narrowed the conditions down to changing the version of @react-three/fiber.
For some reason when updating to 8.16.1, the react spring animations are stopping short of completion.
I am using a spring with an onUpdate function tha calls
invalidate()
so the screen will dynamically update when the animation spring changes.Something about the upgrade from 8.15.19 to 8.16.1 has changed the invalidation behavior, and the animation stops short of completion.
I've outlined some details in the other issue here.