Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating framer-motion to latest minor version causes editor to crash when popover opens #51893

Closed
tellthemachines opened this issue Jun 26, 2023 · 0 comments · Fixed by #51894
Assignees
Labels
[Package] Components /packages/components [Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended

Comments

@tellthemachines
Copy link
Contributor

Description

When framer-motion is updated from 10.11.6 to 10.12.17, opening any popover in any of the editors causes a crash, with the following error message: Uncaught TypeError: positionalValues[key] is not a function.

It might be good to fix the version at 10.11.x until we find out what's happening, otherwise the package updates for WP 6.3 will fail because the version of framer-motion installed by default is 10.12.17.

Step-by-step reproduction instructions

  1. Delete node_modules and package-lock.json;
  2. Run npm i followed by npm run dev;
  3. In the new package-lock the framer-motion version should be 10.12.17;
  4. Go to the post or site editor and try opening any popover.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@tellthemachines tellthemachines added [Type] Bug An existing feature does not function as intended [Package] Components /packages/components [Priority] High Used to indicate top priority items that need quick attention labels Jun 26, 2023
@tellthemachines tellthemachines moved this to 🏗️ In Progress in WordPress 6.3.x Editor Tasks Jun 26, 2023
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jun 26, 2023
@github-project-automation github-project-automation bot moved this from 🏗️ In Progress to ✅ Done in WordPress 6.3.x Editor Tasks Jun 27, 2023
@priethor priethor removed the [Status] In Progress Tracking issues with work in progress label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] Components /packages/components [Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants