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

Break tree shaking issue because of a "motion" #158

Closed
seojisoosoo opened this issue Feb 20, 2024 · 3 comments
Closed

Break tree shaking issue because of a "motion" #158

seojisoosoo opened this issue Feb 20, 2024 · 3 comments

Comments

@seojisoosoo
Copy link

image

Hi,

I am currently using Storybook with the <LazyMotion strict> tag. However, I've encountered an issue. In LazyMotion strict mode, I'm required to use "m" instead of "motion." The problem is that the Sheet component of react-modal-sheet uses "motion."

How can I fix this?

Thank you.

@Temzasse
Copy link
Owner

Hi @seojisoosoo 👋🏻

Using LazyMotion is not currently supported by this library but if it's not much of a hassle I can try to add support for it. I haven't used LazyMotion myself so I'm not familiar how it exactly works with 3rd party libs that consume framer-motion.

@Temzasse
Copy link
Owner

Closing this as duplicate of #137

@seojisoosoo
Copy link
Author

I see.. Thank you so much!

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

No branches or pull requests

2 participants