Mootools Sortables Clone Not Under Mouse Pointer

249

When running mootools sortables, when dragging the cloned element around sometimes the cloned element is offset from the mouse pointer. There is a simple method to avoid this. See the enclosing container to position relative. Like so

<ul style=”position:relative”>
<li>sortable</li>
<li>sortable</li>
<li>sortable</li>
<li>sortable</li>
<li>sortable</li>
</ul>

and that’s it.

Article written by developer and designer


0 comments ↓

If you found this post useful click the share this button. Contribute below by adding a comment, no registration is required.

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment