Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#2161 closed bug (fixed)

Fixed Position Support in Draggables

Reported by: Scott González 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)

Attachments (1)

fixedposition.patch (1.3 KB) - added by Scott González 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Scott González

Attachment: fixedposition.patch added

comment:1 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed

Done!

comment:2 Changed 15 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

comment:3 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.