From c58cc95507659fa2f13e68c07ccdf9af88759504 Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Wed, 22 May 2024 12:31:55 +0200 Subject: [PATCH] Updating --- .../framer-motion/src/projection/node/create-projection-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framer-motion/src/projection/node/create-projection-node.ts b/packages/framer-motion/src/projection/node/create-projection-node.ts index a5b39f3053..fa737ecd65 100644 --- a/packages/framer-motion/src/projection/node/create-projection-node.ts +++ b/packages/framer-motion/src/projection/node/create-projection-node.ts @@ -691,7 +691,7 @@ export function createProjectionNode({ didUpdate() { if (!this.updateScheduled) { this.updateScheduled = true - microtask.preRender(() => this.update()) + microtask.read(() => this.update()) } }