Opened 13 years ago

Closed 12 years ago

#1032 closed enhancement (wontfix)

Added coverId to Dialog allowing to modal out a single node versus entire page

Reported by: tk Owned by: bill
Priority: high Milestone: 0.9
Component: Widgets Version: 0.3
Keywords: dialog node Cc:
Blocked By: Blocking:

Description

As the description says... this allows for passing an id to Dialog widget via coverId="myNode" and the dialog will cover that node only... even if the dialog is bigger than the node... it will center itself over it

Attachments (2)

dialog.diff (3.3 KB) - added by ktiedt@… 13 years ago.
Patch to allow dialog over node instead of entire page
dialog-fix.diff (3.3 KB) - added by ktiedt@… 13 years ago.
Fixed problem with underlay displaying wrong

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by ktiedt@…

Attachment: dialog.diff added

Patch to allow dialog over node instead of entire page

comment:1 Changed 13 years ago by ktiedt@…

Ugh... upon testing of this... the BG is sized and positioned incorrectly in IE... weird since I used dojo.style for almost all of the positioning values... Any help in sorting this out is greatly appreciated (I dont use IE)

Changed 13 years ago by ktiedt@…

Attachment: dialog-fix.diff added

Fixed problem with underlay displaying wrong

comment:2 Changed 13 years ago by ktiedt@…

Fixed the weird problem noticed in IE... strange thinks happen when you cross Height with Width's... This now works BETTER with IE than with FF due to FF not treating considering overflowed content in getOuterWidth() while IE encapsulates overflow as part of the element.

With FF if you have a element that is narrow with lots of text that displays down and overflows.... your dialog will position above it and your underlay will NOT cover the overflow where in IE this is covered and the dialog will center over the overflow as if it were a natural part of the element.

comment:3 Changed 13 years ago by dylan

Milestone: 0.40.5

comment:4 Changed 12 years ago by tk

Cc: ktiedt@… removed
Component: GeneralWidgets
Owner: changed from anonymous to bill
Reporter: changed from ktiedt@… to tk

comment:5 Changed 12 years ago by bill

Resolution: wontfix
Status: newclosed

I don't think we want this as part of Dijit, sorry. It would add too much complication for PopupManager?, etc.

Note: See TracTickets for help on using tickets.