We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1422aef commit 47d5524Copy full SHA for 47d5524
packages/framer-motion/src/frameloop/render-step.ts
@@ -86,6 +86,10 @@ export function createRenderStep(runNextFrame: () => void): Step {
86
// Execute this frame
87
thisFrame.forEach(triggerCallback)
88
89
+ // Clear the just processed frame, so we don't retain anything the callbacks retain,
90
+ // incase this step will not run for a while.
91
+ thisFrame.clear()
92
+
93
isProcessing = false
94
95
if (flushNextFrame) {
0 commit comments