Skip to content

fix: migrate framer-motion to motion for React 19 support#396

Open
0xpinara wants to merge 2 commits intoworldcoin:mainfrom
0xpinara:fix/migrate-framer-motion-to-motion
Open

fix: migrate framer-motion to motion for React 19 support#396
0xpinara wants to merge 2 commits intoworldcoin:mainfrom
0xpinara:fix/migrate-framer-motion-to-motion

Conversation

@0xpinara
Copy link
Copy Markdown

Summary

Fixes worldcoin#378 - DialogContent requires a DialogTitle error on Next.js 15.5.4.
Moved Dialog.Title inside Dialog.Content with actual text and added
Dialog.Description. Both are visually hidden so the UI stays the same.
Fixes worldcoin#388 - framer-motion v11 is not React 19 compatible.
Replaced framer-motion with motion v12 which supports React 19.
The API is the same, only the import path changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@worldcoin/idkit uses framer-motion: ^11.2.14 which is not React 19 compatible.

1 participant