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>
<li>sortable</li>
<li>sortable</li>
<li>sortable</li>
<li>sortable</li>
<li>sortable</li>
</ul>
and that’s it.
0 comments ↓
If you found this post useful click the share this button. Contribute below by adding a comment, no registration is required.
DCE Related Posts
Read Full Article...
Read Full Article...
Read Full Article...
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment