Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#1666 closed feature (worksforme)

Explicit position refresh for droppable objects

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

Description

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 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by dannyd

Attachment: animationRefresh.html added

comment:1 Changed 12 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 12 years ago by paul

Resolution: worksforme
Status: assignedclosed

comment:3 Changed 11 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

Note: See TracTickets for help on using tickets.