You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to migrate the allowFrom feature from the old 1.2.X way interact(draggable).allowFrom(..) to the new 1.3.0 way interact(draggable).draggable({allowFrom: ....}).
Expected behavior
I should be able to define a handle within a draggable which becomes thereby the only way to drag the element itself.
Actual behavior
If I define a handle via allowFrom, the draggable can be dragged from all over the draggable area. I.e. it does not make any difference whether I define allowFrom or not. https://jsfiddle.net/twqb3pnc/1/ . If you try the same code with the old allowFrom method it works as expected.
Moreover, I have had also issues when I set an Element as handle instead of a CSS selector. Do not know if it is related.
System configuration
interact.js version: 1.3.0 Browser name and version: Chrome Operating System: Ubuntu 16.04
The text was updated successfully, but these errors were encountered:
I have tried to migrate the allowFrom feature from the old 1.2.X way
interact(draggable).allowFrom(..)
to the new 1.3.0 wayinteract(draggable).draggable({allowFrom: ....})
.Expected behavior
I should be able to define a handle within a draggable which becomes thereby the only way to drag the element itself.
Actual behavior
If I define a handle via allowFrom, the draggable can be dragged from all over the draggable area. I.e. it does not make any difference whether I define allowFrom or not. https://jsfiddle.net/twqb3pnc/1/ . If you try the same code with the old allowFrom method it works as expected.
Moreover, I have had also issues when I set an Element as handle instead of a CSS selector. Do not know if it is related.
System configuration
interact.js version: 1.3.0
Browser name and version: Chrome
Operating System: Ubuntu 16.04
The text was updated successfully, but these errors were encountered: