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

Nested example / implementation ? #5

Open
Adevien opened this issue Sep 2, 2024 · 2 comments
Open

Nested example / implementation ? #5

Adevien opened this issue Sep 2, 2024 · 2 comments

Comments

@Adevien
Copy link

Adevien commented Sep 2, 2024

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

@SupertigerDev
Copy link
Member

SupertigerDev commented Sep 2, 2024

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
Copy link
Author

Adevien commented Sep 2, 2024

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

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

2 participants