We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dc6e6a commit 4f8ed16Copy full SHA for 4f8ed16
packages/framer-motion/src/animation/animators/utils/can-animate.ts
@@ -24,7 +24,11 @@ export function canAnimate(
24
const originKeyframe = keyframes[0]
25
if (originKeyframe === null) return false
26
27
- console.log(keyframes, name)
+ /**
28
+ * These aren't traditionally animatable but we do support them.
29
+ * In future we could look into making this more generic or replacing
30
+ * this function with mix() === mixImmediate
31
+ */
32
if (name === "display" || name === "visibility") return true
33
34
const targetKeyframe = keyframes[keyframes.length - 1]
0 commit comments