[BUG] LazyMotion sets initial
immediately; before LazyMotion.features
load
#2601
Labels
bug
Something isn't working
According to docs, LazyMotion:
However,
initial
part ofMotionProps
is set immediately.Problems:
LazyMotion.features
are loaded.CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/framer-motion-lazymotion-32vhxp
Steps to reproduce
Steps to reproduce the behavior:
Hello
printed on the screen becauseinitial
is triggered immediatelyExpected behavior
If
LazyMotion.features
are loaded, only theninitial
,animate
,exit
and other MotionProps should trigger.initial
is already mounted,initial
should be skippedThe text was updated successfully, but these errors were encountered: