Skip to content
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.

Draggable onDrag and onDragEnd events not triggering #7

Open
dylankil opened this issue Feb 16, 2017 · 0 comments
Open

Draggable onDrag and onDragEnd events not triggering #7

dylankil opened this issue Feb 16, 2017 · 0 comments

Comments

@dylankil
Copy link

Hello, I've the following code:

<Draggable key={"c-app__drag-" + this.state.displayOptions.mode} position={this.state.currentlyDraggedPosition} onDrag={(newPos) => this.onDrag(newPos)} onDragEnd={() => this.onDragEnd()} > <Component currentlyDraggedPosition={this.state.currentlyDraggedPosition} /> </Draggable>

Everything loads fine, but the events are not triggering when I click to drag. Am I missing something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant