Skip to content

React resizable doesn't work with react-draggable anymore #143

@mmesar

Description

@mmesar

Please select the type of issue you're reporting. For questions.

  • Bug
  • Feature Request
  • Question

With new version (v2.0.0) nesting react-resizable within react-draggable is not working.

System Info

Node Version: v12.18.2
Browser: Chrome
OS: Windows 10

project created with react scripts / create react app
using:
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-draggable": "^4.4.3",
"react-resizable": "^2.0.0",
"react-scripts": "3.4.3"

Reproduction

https://codesandbox.io/s/red-fog-umlic?file=/src/App.js - this one doesnt work
https://codesandbox.io/s/condescending-feynman-t75eq?file=/src/App.js - this one works but has react resizable v1.10.1

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