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 already did one project with react-dnd, but this is the first time I see this issue. Here is my package.json if this problem could be linked with libraries compatibility:
The error is here, it looks like the component has not been received at this point, so this short-circuits without calling the beginDrag() function of the spec.
@andrew-farries, there are two issues here: one is on our end, a predicate check is failing and resulting in silent failures.
The other issue is on your end - because we use ref to get a handle on the DOM element of your component, you can't use a React SFC as a DragSource, DropTarget, or DragLayer - they have to be classes that extend React.Component.
Hi. I tried to find any mentions of this bug, but unfortunately nothing was present here or on web.
I started a project and have pretty simple setup and when trying to drag element, having this error:
http://prntscr.com/jpfale
This is my Drag component:
Container connected with context:
I already did one project with react-dnd, but this is the first time I see this issue. Here is my package.json if this problem could be linked with libraries compatibility:
Please help resolve this issue.
The text was updated successfully, but these errors were encountered: