Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use this in tandem with React-Draggable? #212

Open
1 of 3 tasks
tetron432 opened this issue Jan 3, 2023 · 2 comments
Open
1 of 3 tasks

Can I use this in tandem with React-Draggable? #212

tetron432 opened this issue Jan 3, 2023 · 2 comments

Comments

@tetron432
Copy link

Thanks for opening an issue!

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

  • Bug
  • Feature Request
  • Question

Problem Report

Can I use this library together with React-Draggable, by any chance?

@purfectliterature
Copy link

Assuming you meant this react-draggable library, then yes, you can.

Just remember to put the Resizable component inside Draggable or DraggableCore, and not the other way around, else it wouldn't work.

@Ajamuar
Copy link

Ajamuar commented Jan 31, 2023

This doesn't seem to work as shown in the codesandbox below. Can you please help us figure out how to structure it in the correct way?

https://codesandbox.io/s/fervent-cerf-0z335q?file=/src/components/Line.tsx

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

No branches or pull requests

3 participants