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

Locking the item in its position #116

Open
wojtasadam opened this issue Aug 10, 2018 · 2 comments
Open

Locking the item in its position #116

wojtasadam opened this issue Aug 10, 2018 · 2 comments

Comments

@wojtasadam
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Sorry, we will not be able to answer every support request.  Please consider other venues for support requests

Current behavior
There is no way to lock item in its position. There is a "moves" option, but item can be moved by the another item.

Expected behavior
I'd like to be able to lock item in its position. For example, I have the following structure:

  • Container (ngx-dnd-container)
    -- Item (ngx-dnd-item with moves disabled) - I'd like to lock this item that it can not be moved in any way
    -- Loop with items (ngx-dnd-item)

Can you do it?

Thanks,
Adam

@Gourav102
Copy link

I am also having the same use case. @wojtasadam, did u find any way to make it work?

@Kartheek2016
Copy link

@Gourav102 @wojtasadam
I'm facing the same issue, did anyone find a work around for this use case!

In my case, I need the input element to always be at the last position, when you drag & drop it is placed well but when you sort the input its changing the position even if the moves is disabled!

image

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

No branches or pull requests

4 participants