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

Can we prevent dragging in vertical Direction ? #4

Open
riyaistar opened this issue Dec 30, 2019 · 1 comment
Open

Can we prevent dragging in vertical Direction ? #4

riyaistar opened this issue Dec 30, 2019 · 1 comment

Comments

@riyaistar
Copy link

Below is [https://jsfiddle.net/riyamitra/4oatsyde/] (js fiddle for the scenario) I need to prevent vertically scrolling as my list horizontally scrolling. I want the dragging element to be only in horizontal direction.

@depuits
Copy link
Member

depuits commented Jan 6, 2020

I don't think you can currently limit the position of the dragged object. As an alternative you can easely hide it by using the dragClass. https://jsfiddle.net/jq49wr0t/

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