Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Top Level component / hierarchy #90

@sergical

Description

@sergical

Hey guys, I am trying to implement http://gaearon.github.io/react-dnd/ with some Meteor React components but I am getting an error saying that Error: Error: Invariant Violation: Could not find the drag and drop manager in the context of DropTarget(Component). Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context

I have an ItemList which has ItemRow inside of it and I'm calling ItemList = ReactDnD.DragDropContext(ReactDnD.HTML5)(DropList); but that is not the top level component (looking at the React console debugger).

Is there a way to get to the Top Level Component?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions