Opened 7 years ago

Last modified 2 years ago

#4911 open feature

Draggable: Add a refresh method

Reported by: rdworth Owned by:
Priority: major Milestone: 2.0.0
Component: ui.draggable Version: 1.7.2
Keywords: draggable refresh refreshPositions Cc:
Blocked by: Blocking:

Description (last modified by scottgonzalez)

Draggable currently has two options for refreshing droppable positions:

  • on drag start (option refreshPositions false)
  • on every drag mousemove (option refreshPositions true)

It would be nice to have something in-between the two, by having a refresh method that could be called when the developer knows it's needed. See

http://groups.google.com/group/jquery-ui/browse_thread/thread/5a1fbb37ab8ef1a9


This should also update dimensions from any other options, such as containment (see #4781).

Change History (8)

comment:1 Changed 6 years ago by Grioja

Any word on this? It is very much needed in dynamic pages

comment:2 Changed 6 years ago by scottgonzalez

No new features will be added in 1.8.x, but in reality since interactions are being rewritten, no new features for interactions will land until 2.0.

comment:3 Changed 4 years ago by scottgonzalez

  • Milestone changed from 1.9.0 to 2.0.0

comment:4 Changed 4 years ago by jzaefferer

  • Status changed from new to open

Should implement this as part of the 2.0.0 rewrite. Probably replacing the current refresh options.

comment:5 Changed 4 years ago by scottgonzalez

  • Description modified (diff)

comment:6 Changed 4 years ago by scottgonzalez

#4781 is a duplicate of this ticket.

comment:7 Changed 2 years ago by scottgonzalez

This should also affect containment.

comment:8 Changed 2 years ago by scottgonzalez

#10660 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.