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

Support drag and dropping elements #32

Open
seanaye opened this issue Sep 20, 2023 · 2 comments
Open

Support drag and dropping elements #32

seanaye opened this issue Sep 20, 2023 · 2 comments

Comments

@seanaye
Copy link
Contributor

seanaye commented Sep 20, 2023

There is already support for dropping files but it would be great to have dropping for elements to create things like kanban boards.

Here is an example library for solidjs

https://solid-dnd.com/

@rakshith-ravi
Copy link
Contributor

If I understand this correctly, this is a "snapping" based system, right? Cuz if so, we can build is on top of our existing functions, with use draggable, use drop zone and what not.

@maccesch
Copy link
Contributor

Hm no not really. If you look at the link from @seanaye you can see this is a whole other can of worms. To be honest I think this is kind of outside the scope of leptos-use and should be its own lib like leptos-dnd or sth.

I'm leaving it open in case someone wants to pick it up because I think it would awesome to have this. In case I ever get around to doing this I'll probably create a new crate as mentioned.

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