Hi all,
When using sortable lists, a click anywhere in a <li> element will
trigger the "sort_by_dragging" mode, and have the clicked element follow
the mouse. The active area is the entire <li> element.
Is there a way to either :
- limit the active/triggering "area" to a part of the <li> element
(like a luggage handle)
or
- prevent a part of the <li> element from triggering the sort mode
?
Context (one of many examples where it's needed):
I'm merging many screens - sort, edit, delete - into one
=> each <li> element is made of
1 text
2 list of tags where each tag is a link
3 icon + link to an action: "edit tags"
...
Problem: a click on "Edit tag" opens/show a small form under the
element, but at the same times it triggers the sort mode => the entire
line follows the mouse when I try to place the focus in the form.
Alain
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs