You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used the useSpring example from the documentation but it doesn't seem to work. Am I missing something or is the documentation incorrect? This is my very simple component. I have globally installed vue motion in my app.
When I click the div, I see 'click' appear in the console but no animation is triggered.
I updated @didavid61202 's great work to use the reactiveTransform composable from Vue Motion. That made a bit more sense to me and I'm guessing that's how the authors of this library intended it to be used?
Basically reactiveTransform outputs a state variable which useSpring can animate, which is then tied to a transform reactive variable which can then be bound to the actual element's style.
Hi,
I've used the useSpring example from the documentation but it doesn't seem to work. Am I missing something or is the documentation incorrect? This is my very simple component. I have globally installed vue motion in my app.
When I click the div, I see 'click' appear in the console but no animation is triggered.
I get an error in this codesandbox when triggering the animation that I'm not getting in my local app, I'm not sure if it's related.
Cannot read properties of undefined (reading 'apply')
https://codesandbox.io/s/vueuse-motion-forked-i76zv6?file=/src/components/Bar.vue
Can anyone shed some light?
The text was updated successfully, but these errors were encountered: