Ticket #3160 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 9 months ago

Ability to specify dialog containment

Reported by: morkil+jqueryui@… Owned by: scott.gonzalez
Priority: minor Milestone: 1.6
Component: ui.dialog Version: 1.5.2
Keywords: Cc:
Blocking: Blocked by:

Description

Patch:

--- ui.dialog.js.orig	2008-07-09 13:35:26.000000000 +0200
+++ ui.dialog.js	2008-07-31 14:11:38.000000000 +0200
@@ -119,7 +119,8 @@
 				stop: function(e, ui) {
 					(options.dragStop && options.dragStop.apply(self.element[0], arguments));
 					$.ui.dialog.overlay.resize();
-				}
+				},
+				containment: options.containment
 			});
 			(options.draggable || uiDialog.draggable('disable'));
 		}

Change History

comment:1 Changed 5 years ago by Cloudream

  • Type changed from feature to enhancement
  • Milestone set to TDB

comment:2 Changed 4 years ago by scott.gonzalez

  • Milestone changed from TBD to 1.next

comment:3 Changed 3 years ago by scott.gonzalez

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

Adding options that proxy back to draggable and resizable would cause API bloat. If you need additional control, use the draggable plugin yourself.

comment:4 Changed 9 months ago by scott.gonzalez

  • Milestone changed from 1.next to 1.6
Note: See TracTickets for help on using tickets.