January 17th, 2013, 12:30 PM
UI sortable - how do i fix intersect "bug"
There is an option in JqueryUI sortable called tolerance with default "intersect"
The idea is, if you drag an element over 50% of another element, regardless of where your cursor is, sorting starts happening.
Problem: it doesnt. The cursor needs to cross the other elements border for sorting to start.
Anyone have ideas how to fix this in a clean way?
Or which code in JqueryUI would i need to fiddle with to fix it directly there?
Tried looking where this is handled but no luck.