Search and Top Navigation
#2161 closed bug (fixed)
Opened January 14, 2008 08:42PM UTC
Closed February 12, 2008 01:57PM UTC
Last modified February 26, 2009 11:23AM UTC
Fixed Position Support in Draggables
Reported by: | scottgonzalez | Owned by: | paul |
---|---|---|---|
Priority: | major | Milestone: | 1.5 |
Component: | ui.core | Version: | 1.2.1 |
Keywords: | fixed draggable | Cc: | |
Blocked by: | Blocking: |
Description
If a draggable element has fixed positioning, it will "jump" when dragging starts if the user has scrolled the page. The jump is the distance that has been scrolled. I created a patch to fix this by adjusting this.position in $.ui.draggable.prototype.drag().
(This was moved over from http://plugins.jquery.com/node/1172)
Done!