Skip to content

Draggable is broken, documentation does not match requirements #9

@AlexReff

Description

@AlexReff

Please either release a working version of this library or update the documentation to reflect how to use it.

https://codesandbox.io/s/awesome-lewin-ms5t1

From the documentation:

<Draggable style={{translateX: 150, translateY: 200}}>
  {({translateX, translateY}) => {
    return (
      <div style={{transform: `translate3d(${translateX}px, ${translateY}px, 0)`}}>
        <Bubble />
      </div>
    );
  }}
</Draggable>

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