Open danbaechtold opened 6 years ago
I have a use case where I need have the container and draggables in an iframe.
SmoothDnd constructor fails, probably because it relies on the document root: Type Error: "Cannot read property 'children' of null".
It would be totally awesome if this could be made possible, maybe by allowing to pass the root window to use as an option to the constructor?
Here is the example: https://codesandbox.io/s/0o8m7z98np
Here is the iframe (other sandbox): https://codesandbox.io/s/v32k2w62y3
Thanks a lot, Dan
I have a use case where I need have the container and draggables in an iframe.
SmoothDnd constructor fails, probably because it relies on the document root: Type Error: "Cannot read property 'children' of null".
It would be totally awesome if this could be made possible, maybe by allowing to pass the root window to use as an option to the constructor?
Here is the example: https://codesandbox.io/s/0o8m7z98np
Here is the iframe (other sandbox): https://codesandbox.io/s/v32k2w62y3
Thanks a lot, Dan