Bug Tracker

Ticket #2161 (closed bug: fixed)

Opened 11 months ago

Last modified 10 months ago

Fixed Position Support in Draggables

Reported by: scott.gonzalez Assigned to: paul
Type: bug Priority: major
Milestone: 1.2.2 Component: ui
Version: 1.2.1 Keywords: fixed draggable
Cc: Needs: Commit

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

fixedposition.patch (1.3 kB) - added by scott.gonzalez 11 months ago.

Change History

Changed 11 months ago by scott.gonzalez

Changed 10 months ago by paul

  • status changed from new to closed
  • resolution set to fixed

Done!

Note: See TracTickets for help on using tickets.