Draggable containment and scroll
I have a large div with overflow: scroll, then a large table inside that div with much taller height. The draggable is inside that table, so I set the containment to the table, then tried to drag it. However, the draggable goes beyond the containment table's height and makes outer div increase its scroll size. Is this a conflict between containment and auto scroll option?
- <div style="height: 400px; overflow: scroll">
- <table id="containmentTable" style="height: 1000px;">
- <tbody>
- <tr>
- <td><div class="myDraggable">...</div></td>
- </tr>
- </tbody>
- </table>
- </div>