mcm-ham / dragsort

jQuery List DragSort
3 stars 1 forks source link

scrollContainer loses correct item offsets when dragging #13

Open mcm-ham opened 6 years ago

mcm-ham commented 6 years ago

Hi, I believe that I have found a problem with the scrolling code.   For example, use this url on my development box: http://slideshowmaker.ath.cx/index.htm :   If you drag one of the first few slides past the area so that the slider pane scrolls, then you grab one of the last items and try to move it left, you will see that the "selected" item gets drawn many pixels left of where the mouse really is. It seems to lose track of the correct offset because its not taking into account the scrollContainer's scolled position.   I figured the scrollContainer's selector should be '.slides-wrapper .slider-pane' if I understood the docs but seems '.slider-pane .slider-timeline' works better (actually will scroll).   Or am I missing something?   Thanks

This work item was migrated from CodePlex

CodePlex work item ID: '33163' Vote count: '1'