Display Toggle Blocks Layout Animation in Framer Motion
When a component’s display style switches from none to block , developers often rely on Framer Motion’s layout prop to animate the element’s entry. However, the FLIP algorithm cannot capture a start state for an element that has no measurable layout while hidden, so the animation is suppressed. Current behavior falls back to animating explicitly defined prop