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

is it possible to lock the position of some of elements #205

Closed
skang opened this issue Aug 29, 2018 · 2 comments
Closed

is it possible to lock the position of some of elements #205

skang opened this issue Aug 29, 2018 · 2 comments
Labels

Comments

@skang
Copy link

skang commented Aug 29, 2018

This seems to be new feature request - one of my projects requires that some of the elements in the target container be locked in position. I wonder how hard it is to add this functionality. Thanks

@niklasramo
Copy link
Collaborator

Hmmm.. If by locked you mean item that can't be dragged or sorted then this is how you'd do it: https://codepen.io/niklasramo/pen/EEdmJr

If you want the item to be in fixed position at all times then you can build a custom layout algorithm.

@skang
Copy link
Author

skang commented Aug 30, 2018

Hi, Niklas, thank you so much for your quick reply!

That's exactly what I mean! This definitely shows off the power of the library :)

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

No branches or pull requests

2 participants