Sortable issues - insert area doesn't show and dragging item drags list

Sortable issues - insert area doesn't show and dragging item drags list

I have a list that works fine using everything except IE 11. A user trying to drag an item into a list doesn't get the insert area and when trying to move an item in the list to a new location, the entire list drags (see screenshot).



The "Do you have a symptom..." item is being dragged, but the entire "General Heart Failure..." list is moving.

Since I'm new to jquery and I can't recreate the issue, I'm a bit lost as to how to resolve the problem.

Edit: here's the relevant script:

  1. <td valign="top" style="width: 75%;">
  2. <script type="text/javascript">
  3. $(document).ready(function () {
  4. $("#SectionRepeater").sortable({
  5. items: "div.SortableSection",
  6. forcePlaceholderSize: true,
  7. placeholder: "placeHolder"
  8. });

  9. $("div.Draggable").each(function () {
  10. $(this).draggable({
  11. connectToSortable: ".List",
  12. helper: "clone",
  13. revert: "invalid"
  14. });
  15. });

  16. $(".List").each(function (index, value) {
  17. $(this).attr("index", index);
  18. $(this).attr("id", "List" + index);
  19. var ListIndex = index

  20. $(this).children(".ListItem").each(function (index, value) {
  21. $(this).attr("class", "ListItem ListItem" + ListIndex);
  22. $(this).attr("id", "SectionQuestion_" + index);
  23. });

  24. $(this).sortable({
  25. items: "div.ListItem" + ListIndex,
  26. forcePlaceholderSize: true,
  27. placeholder: "placeHolder",
  28. receive: function (event, ui) {
  29. $(this).children(".Draggable").each(function (index, value) {
  30. $(this).attr("class", "ListItem ListItem" + ListIndex);
  31. });
  32. }
  33. });
  34. });

  35. });

  36. </script>
  37. <input type="hidden" runat="server" id="SectionOrder" />
  38. <div class="ui-tabs ui-widget ui-widget-content ui-corner-all" style="height: 600px; overflow-y: scroll;">
  39. <div id="SectionRepeater">
  40. <asp:Repeater runat="server" ID="rpSections" OnItemDataBound="rpSections_ItemDataBound">
  41. <ItemTemplate>
  42. <div id="Section_<%# %>"
  43. class="SortableSection">
  44. <div style="float: right; margin-top: -3px;">
  45. <asp:LinkButton name="<%#  %>"
  46. <uc1:ctrlQTemplateSection runat="server" ID="ctrlSection" CurrentQTemplateSection="<%# Container.DataItem %>" />
  47. </div>
  48. </ItemTemplate>
  49. </asp:Repeater>
  50. </div>
  51. </div>
  52. </td>