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

[BUG] motion/mini doesn't exist but there's an animateMini in motion #2865

Closed
brandonpittman opened this issue Nov 13, 2024 · 4 comments · Fixed by #2869
Closed

[BUG] motion/mini doesn't exist but there's an animateMini in motion #2865

brandonpittman opened this issue Nov 13, 2024 · 4 comments · Fixed by #2869
Labels
bug Something isn't working

Comments

@brandonpittman
Copy link

brandonpittman commented Nov 13, 2024

Docs say to use import {animate} from "motion/mini" but it doesn't exist.

import {animateMini} from "motion" does.

@brandonpittman brandonpittman added the bug Something isn't working label Nov 13, 2024
@mattgperry
Copy link
Collaborator

Can you check 11.11.15 to see if this fixes it for you?

@litingyes
Copy link

Can you check 11.11.15 to see if this fixes it for you?

cann't find the type file

Screenshot 2024-11-13 at 22 45 51 Screenshot 2024-11-13 at 22 46 12

@pleskac
Copy link

pleskac commented Nov 13, 2024

The type file isn't found as mentioned above on 11.11.15 and the types are actually incorrect. I don't believe x/y/z are valid keyframes anymore after moving away from the css var implementation? They don't work in practice but I believe the types are just shared with framer-motion.

Edit: something like this perhaps? pleskac@fe176c3

@brandonpittman
Copy link
Author

Working as expected!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants