Hi, guys!
I have a problem with minimumMovement parameter in Draggable.
There is a site menu with several clickable links. I want to be able to drag the entire menu even if mouse cursor (or touch) is above the <a> element. But now I can drag it only if I press on empty area of the menu.
You can check the actual version right here: http://nordskill.com/dock/argish/index-about-us.html
But you have to squeeze the browser window to "mobile" width to see what I'm talking about.
The DOM structure looks like this:
<menu class="nav">
<ul>
<li><a href="#">btn name</a></li>
<li><a href="#">btn name</a></li>
<li><a href="#">btn name</a></li>
<li><a href="#">btn name</a></li>
</ul>
</menu>
JS:
Draggable.create(".nav", {type:"x", edgeResistance:0.75, throwProps:true, minimumMovement:2, bounds:window});