Open
Description
If using a JS lib for animation, the runtime value of data-side
is not available to these libs so they cannot apply origin-aware animations.
This is a sandbox provided in our discord where they've attempted to use the data-side
attribute as a prop by utilising our Slot
component. Unfortunately, the attribute value will not be available when the motion.div
component mounts so the animation never plays out.
I'm not sure how we can solve this given that we need the content to render for a frame in order to work out what side it should appear but I'm raising this ticket for us to have a think.