Bug Tracker

Opened 15 years ago

Closed 15 years ago

#1666 closed feature (worksforme)

Explicit position refresh for droppable objects

Reported by: dannyd Owned by: paul
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: position refresh Cc:
Blocked by: Blocking:


Need a way to explicitly call an update on droppable objects positions. This will allow for animations that change the position of droppable objects to be triggered from draggable objects without positions getting out of sync. I attached a simple example to illustrate the problem.

Attachments (1)

animationRefresh.html (1.3 KB) - added by dannyd 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by dannyd

Attachment: animationRefresh.html added

comment:1 Changed 15 years ago by paul

Owner: set to paul
Status: newassigned

Hi, actually, there is a option for that already implemented: Just call the following function whenever you need it: $.ui.ddmanager.prepareOffsets()

Hope this helps!

comment:2 Changed 15 years ago by paul

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.