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
I am trying to figure out how to use 3rd party library as a drag source and also as drag target. Use case would be using reactstrap "Container" as a target and dropping "Row" or other components inside it to build a page
But it did not answer completely.
Q1. Can you also use 3rd part library as a drag target.
Q2. Looks like findDOMNode does not work on functional components. How to do have drag/drop with some 3rd party components if they are functional?
The text was updated successfully, but these errors were encountered:
The only requirement for react-dnd to work is to be able to attach a ref to a dom node. Since only primitive react components make use of refs then the library you use must somehow forward it from their rich component to the inner wrapping element. For reactstrap they allow you to pass a innerRef prop.
I am trying to figure out how to use 3rd party library as a drag source and also as drag target. Use case would be using reactstrap "Container" as a target and dropping "Row" or other components inside it to build a page
I reviewed issue#
#347
But it did not answer completely.
Q1. Can you also use 3rd part library as a drag target.
Q2. Looks like findDOMNode does not work on functional components. How to do have drag/drop with some 3rd party components if they are functional?
The text was updated successfully, but these errors were encountered: