-
Notifications
You must be signed in to change notification settings - Fork 123
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
Excluding some element inside draggable element #128
Comments
Can you explain the use case for this? |
@ObaidUrRehman Lets say i have a div which have draggable directive and inside that there is an input field, now if i want to select all the text inside that input field by clicking and drag then this is not allowing and the whole div start dragging! |
@adeelhussain I had the same problem. As a workaround I found I could disable dragging when the mouse enters any of the input fields.
Then inside the html template:
|
@ed-alertedh i have done the same 😄 |
Any updates on this? The suggested workaround would be pretty messy, because of component nesting. |
I'm submitting a ...
[*] feature request
What is the current behavior?
Right now if we put the directive into the parent div then its makes the whole div draggable, also it provides handler too through which we can drag using that handler
What is the expected behavior?
It should allow to exclude some elements inside that div by passing the ID or Class or any identifier in the directive as attributes so that if we drag that element then it should not drag!
The text was updated successfully, but these errors were encountered: