Open skorphil opened 5 months ago
Issues so far:
as={motion.div}
not working properly causing spring-like motionmotion.div
not being animated when changing in styles occurs due to viewport size changinghttps://github.com/skorphil/nextjs-form/assets/6762009/2300124c-5510-4e1f-8f79-159312c7efd9
Issues so far:
as={motion.div}
not working properly causing spring-like motionpure
motion.div
not being animated when changing in styles occurs due to viewport size changingbug.animation.mov
Prob this is cuz continuing changing of classes due to hook, reacting to change in viewport. Need to try to implement breakpoint logic, so change will occur only once
Framer motion size glitch can be fixed with
layout="position"
propertyhttps://codesandbox.io/p/devbox/grid-framer-motion-forked-qq2njt?embed=1&file=%2Fsrc%2Fstyles.css