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

Add option to lock axis while dragging #110

Open
itslenny opened this issue Jul 31, 2018 · 1 comment
Open

Add option to lock axis while dragging #110

itslenny opened this issue Jul 31, 2018 · 1 comment

Comments

@itslenny
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 axis while dragging

Expected behavior

It would be nice to be able to lock the x / y axis for lists where the items should only be dragged in one or the other

Someone submitted this to dragula's main repo a long time ago, but since that project is dead it was never merged. I'm happy to port that PR over and add the implementation to ngx-dnd too, but I wanted to create an issue first to make sure this feature is acceptable to the maintainer(s).

@Hypercubed
Copy link
Contributor

I'd be willing to look at a PR. Note that I want to drop dragula ASAP. So some of that work will need to be redone when we do....

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

2 participants