Skip to main content

Search and Top Navigation

#5699 closed feature (duplicate)

Opened June 08, 2010 05:56AM UTC

Closed June 14, 2010 08:49AM UTC

Last modified October 11, 2012 09:15PM UTC

Dialog: add containment option

Reported by: 纯粹误会 Owned by:
Priority: minor Milestone:
Component: ui.dialog Version: 1.8.1
Keywords: Cc:
Blocked by: Blocking:
Description

Please add a containment option to dialogs for dragging and resizing.

Attachments (0)
Change History (4)

Changed June 08, 2010 12:54PM UTC by scottgonzalez comment:1

description: Here it is: \ \ I just found that there might have a Bug in the Jquery.ui.diaglog.js \ as we know there is a paramerter called "containment" between dragable & resizable.and it's default value is "document".it controls the draging always keeping in the document area. \ but when the target page is not an entire page. when it's an opened small page. and also included a dragable dialog..then it doesn't work I think..at least the range we can control is truning too small. \ \ so here is my solution: \ add a paramerter called "options.containment"(for example)..the default value is "document".and the relevant containments of draggable & resizable also can be changed to "options.containment"...then we can control it easily.Please add a containment option to dialogs for dragging and resizing.
summary: dialog containment bugDialog: add containment option
type: bugfeature

This doesn't actually sound like a bug report. I've changed it to a feature request and completely rewritten the ticket.

Changed June 13, 2010 02:44AM UTC by benjamin.neau comment:2

Isn't this feature request the same as #3160?

On a side note, would a dialog be restricted to the inside of a container, shouldn't its overlay obbey the same constraints?

Changed June 14, 2010 08:49AM UTC by rdworth comment:3

resolution: → duplicate
status: newclosed

Duplicate of #3160

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:4

milestone: TBD

Milestone TBD deleted