From 77d6a298043988838d8165e8cac90b9a7db4e71e Mon Sep 17 00:00:00 2001 From: Matt Perry Date: Wed, 20 Mar 2024 12:56:55 +0100 Subject: [PATCH] Adding notes --- .../src/animation/animators/AcceleratedAnimation.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/framer-motion/src/animation/animators/AcceleratedAnimation.ts b/packages/framer-motion/src/animation/animators/AcceleratedAnimation.ts index 248ea4d878..37d9644338 100644 --- a/packages/framer-motion/src/animation/animators/AcceleratedAnimation.ts +++ b/packages/framer-motion/src/animation/animators/AcceleratedAnimation.ts @@ -147,6 +147,9 @@ export class AcceleratedAnimation< keyframes: ResolvedKeyframes, finalKeyframe: T ): ResolvedAcceleratedAnimation { + // TODO + // Add test for setting duration to 0 + // Add test for when component has been unmounted and element is null let duration = this.options.duration || 300 /**