Hi Nick. I'm trying to use framer-motion with Formik, but it doesn't seem to work by just doing <motion.ErrorMessage/>. How did you make them work together?
Ya know I’m not sure if I actually used them on the same project...
My recommendation though would just be wrap whatever element you want to animate in a motion.div. Just make sure there’s no additional margin or padding on it - that will mess up your layout quick.
Hi Nick. I'm trying to use framer-motion with Formik, but it doesn't seem to work by just doing
<motion.ErrorMessage/>
. How did you make them work together?Ya know I’m not sure if I actually used them on the same project...
My recommendation though would just be wrap whatever element you want to animate in a
motion.div
. Just make sure there’s no additional margin or padding on it - that will mess up your layout quick.That makes sense. I'll try that. Thank you
Absolutely, man. Lemme know if it works or not and I can try to mess around with it more to try and figure it out.
Will do. Thank you