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 a7926e2 commit 90a3dfbCopy full SHA for 90a3dfb
packages/framer-motion/src/projection/node/create-projection-node.ts
@@ -827,6 +827,14 @@ export function createProjectionNode<I>({
827
if (this.snapshot || !this.instance) return
828
829
this.snapshot = this.measure()
830
+
831
+ if (
832
+ this.snapshot &&
833
+ !calcLength(this.snapshot.measuredBox.x) &&
834
+ !calcLength(this.snapshot.measuredBox.y)
835
+ ) {
836
+ this.snapshot = undefined
837
+ }
838
}
839
840
updateLayout() {
0 commit comments