Opened 8 years ago

Last modified 3 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 Scott González)

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 Scott González

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 5 years ago by Scott González

Milestone: 1.9.02.0.0

comment:4 Changed 4 years ago by Jörn Zaefferer

Status: newopen

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

comment:5 Changed 4 years ago by Scott González

Description: modified (diff)

comment:6 Changed 4 years ago by Scott González

#4781 is a duplicate of this ticket.

comment:7 Changed 3 years ago by Scott González

This should also affect containment.

comment:8 Changed 3 years ago by Scott González

#10660 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.