Search and Top Navigation
#1666 closed feature (worksforme)
Opened September 19, 2007 01:30AM UTC
Closed September 24, 2007 04:25PM UTC
Last modified May 24, 2008 03:39AM UTC
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.
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!