Sortable's dragged item jumps if the subject is contained by relative positioned element

Sortable's dragged item jumps if the subject is contained by relative positioned element

jQuery: 1.4.2
jQueryUI: 1.8

I don't know if it's due to the relative positioning itself or the fact that i'm sorting <thead> in my example but that combination makes the dragged item to jump down in any IE, opera10.10, Chrome 4.1. In firefox no problems at all (haven't tested others). The jump height i think is equal to parent's height.

Example

Took me some time but i found a workaround:
I'm referring the standalone sortable module. At line 218 ( somewhere at the end of _mouseStart function ), jquery.ui.sortable.js, inserted:
  1. this.refreshPositions();
Sadly Chrome messes even more after that but i can live with it. Others i've tested handle it. It's not the most adequate fix but in case others meet this problem that's a solution.









    • Topic Participants

    • info