react-touch icon indicating copy to clipboard operation
react-touch copied to clipboard

Draggable onDrag and onDragEnd events not triggering

Open dylankil opened this issue 8 years ago • 0 comments

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?

dylankil avatar Feb 16 '17 01:02 dylankil