diff --git a/dev/react/src/tests/layout-shared-switch-a-b.tsx b/dev/react/src/tests/layout-shared-switch-a-b.tsx index c8b2e42102..2a12d232ac 100644 --- a/dev/react/src/tests/layout-shared-switch-a-b.tsx +++ b/dev/react/src/tests/layout-shared-switch-a-b.tsx @@ -1,5 +1,5 @@ import { motion, useMotionValue } from "framer-motion" -import { useState } from "react"; +import { useState } from "react" export const App = () => { const params = new URLSearchParams(window.location.search) @@ -21,7 +21,7 @@ export const App = () => { opacity: state ? 0.4 : 1, }} onClick={() => setState(!state)} - transition={{ duration: 0.2, ease: () => 0.5 }} + transition={{ duration: 0.3, ease: () => 0.5 }} onLayoutAnimationStart={() => backgroundColor.set("#0f0")} onLayoutAnimationComplete={() => backgroundColor.set("#00f")} /> diff --git a/packages/framer-motion-3d/package.json b/packages/framer-motion-3d/package.json index ebebf74361..8b4e52a415 100644 --- a/packages/framer-motion-3d/package.json +++ b/packages/framer-motion-3d/package.json @@ -60,5 +60,5 @@ "@rollup/plugin-commonjs": "^22.0.1", "three": "^0.137.0" }, - "gitHead": "f714dd9da655810556299ad1a6232746f873ae19" + "gitHead": "625361373b6cf282e41e0a4caae5ad7ea37cb61a" } diff --git a/packages/framer-motion/cypress/integration/layout-shared.ts b/packages/framer-motion/cypress/integration/layout-shared.ts index de096f1c48..5065dc39d1 100644 --- a/packages/framer-motion/cypress/integration/layout-shared.ts +++ b/packages/framer-motion/cypress/integration/layout-shared.ts @@ -50,6 +50,7 @@ describe("Shared layout: A -> B transition", () => { expect(getComputedStyle($box).opacity).to.equal("0.4") }) .trigger("click") + .wait(50) .get("#b") /** * Test that onLayoutAnimationStart fires @@ -57,7 +58,7 @@ describe("Shared layout: A -> B transition", () => { .should(([$box]: any) => { expect($box.style.backgroundColor).to.equal("rgb(0, 255, 0)") }) - .wait(50) + .wait(100) .should(([$box]: any) => { expect(window.getComputedStyle($box).borderRadius).to.equal( "5% / 4%" diff --git a/packages/framer-motion/package.json b/packages/framer-motion/package.json index f4ff3673fb..73853550d2 100644 --- a/packages/framer-motion/package.json +++ b/packages/framer-motion/package.json @@ -135,5 +135,5 @@ "maxSize": "2.5 kB" } ], - "gitHead": "f714dd9da655810556299ad1a6232746f873ae19" + "gitHead": "625361373b6cf282e41e0a4caae5ad7ea37cb61a" }