Toast should not load framer-motion dynamically but @heroui/dom-animation #4991
Guibod
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
toast.tsx
toast component loadsdomMax
dynamically.https://github.com/heroui-inc/heroui/blob/canary/packages/components/toast/src/toast.tsx#L16C1-L16C78
To my understanding that’s the source of a bug in my esbuild packaging at runtime because the dependency could not be resolved.
It seems that most of other element requiring animation uses
import("@heroui/dom-animation")
which doesn’t have the issue.Beta Was this translation helpful? Give feedback.
All reactions