Bug Tracker

Modify

Ticket #2161 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Fixed Position Support in Draggables

Reported by: scott.gonzalez Owned by: paul
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: fixed draggable Cc:
Blocking: Blocked by:

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 Download (1.3 KB) - added by scott.gonzalez 5 years ago.

Change History

Changed 5 years ago by scott.gonzalez

comment:1 Changed 5 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

Done!

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.