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

Drag-and-Drop Elements from Side Panel to Container #1538

Open
Samaanl opened this issue Nov 22, 2024 · 0 comments
Open

Drag-and-Drop Elements from Side Panel to Container #1538

Samaanl opened this issue Nov 22, 2024 · 0 comments

Comments

@Samaanl
Copy link

Samaanl commented Nov 22, 2024

I'm exploring the dnd-kit library for implementing drag-and-drop functionality in my React application. Here's the use case I want to implement:

My application layout includes:

A left panel (20% of the screen width) containing draggable elements.
A right container (80% of the screen width), which serves as a droppable area.
I want users to:

Drag elements from the left panel.
Drop them anywhere inside the right container.
Customize or position them freely within the right container after dropping.
Additionally, I'm planning to integrate Rete.js for node-based visualization in the same application.

Questions:

Does dnd-kit support this type of drag-and-drop setup (dragging elements between two distinct areas)?
Are there any known compatibility concerns or best practices for integrating dnd-kit with Rete.js?
If you could provide guidance, relevant examples, or point me to any documentation/tutorials that align with this use case, it would be immensely helpful.

Thank you for creating such a fantastic library!

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

1 participant