Thanks to visit codestin.com
Credit goes to github.com

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

Draggable onDrag and onDragEnd events not triggering #7

@dylankil

Description

@dylankil

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions