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

Selector to define drag handle #16

Closed
IlyaSemenov opened this issue Jan 19, 2019 · 3 comments
Closed

Selector to define drag handle #16

IlyaSemenov opened this issue Jan 19, 2019 · 3 comments

Comments

@IlyaSemenov
Copy link

@IlyaSemenov IlyaSemenov commented Jan 19, 2019

It would be great to allow only certain part of the draggable elements to actually initiate drag. Example of such UI is below:

screenshot 2019-01-19 at 13 03 22

Only the hamburger icons should be used for dragging, however the entire element should be dragged.

@nikolasp
Copy link
Collaborator

@nikolasp nikolasp commented Jan 19, 2019

Hi @IlyaSemenov,

That's a great suggestion. Probably I'll add an additional option handlerSelector and if it is available in the list of options we can force this behavior. What do you think about this way of using?

@IlyaSemenov
Copy link
Author

@IlyaSemenov IlyaSemenov commented Jan 19, 2019

Yes that's exactly how I see it.

@nikolasp
Copy link
Collaborator

@nikolasp nikolasp commented Jan 22, 2019

I've published v1.1.0 with possibility to define handle element. 🚀
Take a look at example

@nikolasp nikolasp closed this Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants