Skip to content

Commit b71c172

Browse files
committed
Adding comment
1 parent 6463224 commit b71c172

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/framer-motion/src/motion/utils/use-visual-element.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ export function useVisualElement<
146146
wantsHandoff.current = false
147147
}
148148

149+
/**
150+
* Now we've finished triggering animations for this element we
151+
* can wipe the enteringChildren set for the next render.
152+
*/
149153
visualElement.enteringChildren = undefined
150154
})
151155

0 commit comments

Comments
 (0)