Closed emavitta closed 2 months ago
I'm not sure I understand the question, the <Motion>
component serves the same purpose as v-motion
. Are you using the directive on a Motion component? If so, this is untested and I would suggest using only the component or the directive approach, not both at once, simply cause I don't know if this has any unexpected behavior.
The component usage is still relatively new, you're right that custom presets are currently not working when passed using the preset
prop, I will look into fixing this soon!
yep, that's right; it works using directives but i may have found some bugs (or my code is just bad, still haven't figured it out).
I'm trying to understand if i'm doing something wrong, although everything works.
I'm not using the
preset
prop on theMotion
component, instead i'm using thev-motion
directive. This way i can also use custom directive.Why specify in the docs the use of the
preset
and not thev-motion
directive? Is it wrong to do it? If so how can i add a custom directive?