How To Fix Framer Motion AnimatePresence Collapse Leaving a Gap
Introduction
You added overflow: hidden and the collapse still looks wrong. The problem is not the motion component. It is the gap on your parent flex container.
What is happening
AnimatePresence keep
tigerabrodi.blog2 min read