Ticket #3160 (closed enhancement: wontfix)

Opened 2 years ago

Last modified 6 days ago

Ability to specify dialog containment

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

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

Changed 2 years ago by Cloudream

  • type changed from feature to enhancement
  • milestone set to TDB

Changed 20 months ago by scott.gonzalez

  • milestone changed from TBD to 1.next

Changed 6 days 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.

Note: See TracTickets for help on using tickets.