You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having trouble initiating a Dragdealer instance, passing in the DOM element itself. The catch is, if I run the code once it's parent container has had it's display: none; style removed, it works.
Oh also worth mentioning is that the DOM element is not yet part of the document tree. I create the Dragdealer instance, and after that, add the element to the document tree.
Known limitation. Currently Dragdealer only works on DOM elements attached to a document. Sorry for the inconvenience. Feel free to propose an addition to the documentation page to specify this.
Having trouble initiating a Dragdealer instance, passing in the DOM element itself. The catch is, if I run the code once it's parent container has had it's
display: none;
style removed, it works.Here's the code I'm using:
I think if you try the same, ensuring that the parent container is hidden, you'll notice it.
The text was updated successfully, but these errors were encountered: