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

Don't move specific elements #46

Open
jakobmaier opened this issue Jun 5, 2015 · 0 comments
Open

Don't move specific elements #46

jakobmaier opened this issue Jun 5, 2015 · 0 comments

Comments

@jakobmaier
Copy link

Feature request:
In my current use case, it should not be possible to drag the last element produced by ng-repeat and it should also not be possible to move another element below the last one.

The first issue can be solved by hiding the sv-handle with ng-show, but it can't be avoided to drag other elements below the last one.

To achieve this, the sv-on-start and sv-on-stop functions could be modified to return false if the reorder is not allowed to happen.

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

1 participant