Bug Tracker

Opened 13 years ago

Closed 13 years ago

#2161 closed bug (fixed)

Fixed Position Support in Draggables

Reported by: scottgonzalez Owned by: paul
Priority: major Milestone: 1.2.2
Component: ui 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)

Attachments (1)

fixedposition.patch (1.3 KB) - added by scottgonzalez 13 years ago.

Download all attachments as: .zip

Change History (2)

Changed 13 years ago by scottgonzalez

Attachment: fixedposition.patch added

comment:1 Changed 13 years ago by paul

Resolution: fixed
Status: newclosed

Done!

Note: See TracTickets for help on using tickets.