Trigger animation using Motion One for Solid
Is there a way to manually trigger animations using motion one for solid? The regular Motion library has an
animation.play()
method, but I don't see how to do the same think using Motion Solid.
The problem I'm trying to solve is that I'm using Motion in a component, but the animation does not play when I pass that component to a second component as a child (props.children
) and try to render it in the second component.1 Reply
The animation should start automatically on component render, and should respond to reactive values. Could you create a minimal reproduction?