Ticket #4679 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

Dialogs should remember their position after drag

Reported by: scott.gonzalez Owned by:
Priority: critical Milestone: 1.8
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

On drag stop, the position option should be updated. See  jquery-ui-dev thread.

Also, as noted in the thread, we should put together some sample code showing how to keep the original position on each open.

Attachments

fixForTicket4679.diff Download (682 bytes) - added by wewals 5 years ago.
Patch for Ticket 4679
fixForTicket4679_2.diff Download (732 bytes) - added by wewals 5 years ago.
Second attempt (this one saves the position relative to the window)

Change History

comment:1 Changed 5 years ago by scott.gonzalez

  • Summary changed from Dialgos should remember their position after drag to Dialogs should remember their position after drag

Changed 5 years ago by wewals

Patch for Ticket 4679

comment:3 Changed 5 years ago by scott.gonzalez

This should remember position relative to the window. The current patch remembers position relative to the document. Settings options.position to the current position within the window on drag stop should work.

comment:4 Changed 5 years ago by wewals

Will do

Changed 5 years ago by wewals

Second attempt (this one saves the position relative to the window)

comment:5 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r2961. Thanks wewals.

Note: See TracTickets for help on using tickets.