PDA

View Full Version : Selects disappear when using modal: true



alindsay55661
23 Feb 2007, 12:45 PM
Hi,

I have noticed that when I use modal: true fod Basic Dialogs that my selects disappear. They remain invisible even after I close the dialog. Located the following css style that is being applied:



body.x-body-masked select {
visibility:hidden;
}


I haven't been deep into the source so I can't say where the styles are being applied but I thought you would like to know that modality removes any selects that happen to be on the page (in this case my center ContentPanel).

thejoker101
23 Feb 2007, 12:47 PM
If my understanding is correct, they are hidden because IE has problems with their Z-index, if you don't hide them, they will always appear on top of anything else. After you close the dialog, they should be coming back though. Not sure on that...

jack.slocum
23 Feb 2007, 2:24 PM
It was a bug that is fixed in the dev code. I will be deploying a new rev soon.

reignman
20 Mar 2007, 4:26 AM
ahhh.. now i found it.
basic dialogue does not remove the right class.

to prevent problems in usability...
i reused following code in my stylesheets:


body.x-body-masked select {
visibility:visible !important;
}


also if selectboxes will shine thru in IE6...
its better than missing boxes in usability.

Remove this lines when the fixed version is released

jack.slocum
20 Mar 2007, 5:13 AM
It's already fixed in the latest rev.