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

Drag handles #77

Closed
andreasvirkus opened this issue Jun 11, 2017 · 1 comment
Closed

Drag handles #77

andreasvirkus opened this issue Jun 11, 2017 · 1 comment

Comments

@andreasvirkus
Copy link

andreasvirkus commented Jun 11, 2017

My question is a simple one - is it possible to use only a certain child element as the drag handle? For example, only drag when an icon inside the draggable element is clicked?

I know I can set {draggable: false} to disable it for all child elements, but is it then possible to re-enable it for a certain element?

An example can be seen from react-draggable's demo page
http://mzabriskie.github.io/react-draggable/example/

@ladas-larry
Copy link
Collaborator

ladas-larry commented Dec 3, 2017

You would need to fork this repo and modify code to make this happen. Such functionality is not implemented.

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