Nerimity / solid-sortablejs

MIT License
4 stars 2 forks source link

Nested example / implementation ? #5

Open Adevien opened 2 months ago

Adevien commented 2 months ago

Is the nesting logic from sortablejs also implemented, if so can you add an example?

SupertigerDev commented 2 months ago

its implemented, but honestly its kinda confusing how it works. its been a while since i last did it. you need a group attribute that is the same for both Sortable components.

I have used it here in my project a while ago: https://github.com/Nerimity/nerimity-web/blob/main/src/components/servers/settings/channels/ServerSettingsChannels.tsx#L84

Adevien commented 2 months ago

Thank you, i'll look into it, hopefully i can get a working example out of it.