-
Notifications
You must be signed in to change notification settings - Fork 210
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] Multidrag is not a constructor #141
Comments
Perhaps a webpack bug of some sort. The code does export MultiDrag. I don't think I can help right now, as it looks like you've done everything correctly. I'll take a look in the next few days again and see what I come up with. |
Any update here? have the same issue! |
@waynevanson Hmm I'll try to get it set up. Unfortunately it is an private repo but I'll try to get it reproduced! |
@waynevanson @smatt989 Solved it by strategically placing the mount function at a place that I knew would only be kicked off once in my application when rendering the list components instead at the component level where it would be kicked off multiple times. Don't know if that is the proper way but works for me 👍 |
fixed by SortableJS/Sortable#1933 |
Hi!
Been using the latest version and everything works smoothy. However when I try to enable mulltidrag I get thrown an error saying that MultiDrag is not a constructor:
React sortablejs version: "^2.0.11",
The code I'm running:
My app is built upon NextJS with the version : "^9.3.2"
What can I do in order to enable multidrag without the error?
The text was updated successfully, but these errors were encountered: