Creating a draggable container without using findDOMNode()
Opened this issue · 2 comments
seiji619 commented
Creating a dragula object without using findDOMNode()
is not possible right now, if the container element is a custom React component. I understand Facebook will eventually deprecate this method, so it is an important feature to have.
iamdanthedev commented
this.draggable = Dragula({
isContainer: el => el.classList.contains('drag-container'),
})
jondoesntgit commented
Now that findDOMNode is deprecated, the README should be updated.