Skip to content

Commit

Permalink
fix: pin framer-motion to an earlier version
Browse files Browse the repository at this point in the history
`@sanity/ui` `Popover` animations don't run properly when the Studio is
embedded in a Next.js (canary?) app. This change downgrades `framer-motion` to
an earlier version that we know works. We can upgrade again later once the
underlying problem has been fixed.
  • Loading branch information
christianhg committed May 19, 2024
1 parent 0e8ca14 commit 69b4185
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"@sanity/color": "^3.0.6",
"@sanity/icons": "^2.11.8",
"csstype": "^3.1.3",
"framer-motion": "11.2.3",
"framer-motion": "11.0.8",
"react-refractor": "^2.1.7"
},
"devDependencies": {
Expand Down
49 changes: 30 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 69b4185

Please sign in to comment.