Active
Project:
jQuery Interface Sortable
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2008 at 04:06 UTC
Updated:
6 Mar 2008 at 07:54 UTC
Firstly, thanks for the great module.
I'm having a (suprise suprise) issue with IE.
Links contained in sortable divs are not clickable.
Clicking the link raises the div in preparation for sorting.
the browser is not directed to the clicked link.
It's like the drag-drop functionality is overriding the click event on the links
any solution suggestions?
thanks,
DT
Comments
Comment #1
allarthoekstra commentedHey there,
I am having the same problem. But sometimes the links ARE clickable in IE in my case, but in the other moment they are not. In the cases when the links are not working in IE, the issue is exactly what is described above. Any solutions?
Greetings,
Allart
Comment #2
salgar commentedThe simplest solution is to specify a handle with whom the items can be dragged: Prepend the items with <span class="sortable-handle">×</span> and set ['#options']['handle'] of the sortable element to "span.sortable-handle".
My patch for #221150: Empty sortables not possible / Allow two sortables with shared items / Allow items containing form elements adds a new demo to interface_sortable_demos which demonstrates this.
Kind regards,
Salgar