File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
packages/framer-motion/src/render/utils Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ Motion adheres to [Semantic Versioning](http://semver.org/).
44
55Undocumented APIs should be considered internal and may change without warning.
66
7+ ## [ 12.23.24] 2025-10-10
8+
9+ ### Fixed
10+
11+ - Ensure that when a component remounts, it continues to fire animations even when ` initial={false} ` .
12+
713## [ 12.23.23] 2025-10-10
814
915### Added
Original file line number Diff line number Diff line change @@ -438,7 +438,12 @@ export function createAnimationState(
438438 getState : ( ) => state ,
439439 reset : ( ) => {
440440 state = createState ( )
441- isInitialRender = true
441+ /**
442+ * Temporarily disabling resetting this flag as it prevents components
443+ * with initial={false} from animating after being remounted, for instance
444+ * as the child of an Activity component.
445+ */
446+ // isInitialRender = true
442447 } ,
443448 }
444449}
You can’t perform that action at this time.
0 commit comments