1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    160
    Vote Rating
    0
    alindsay55661 is on a distinguished road

      0  

    Default Selects disappear when using modal: true

    Selects disappear when using modal: true


    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:

    Code:
    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).

  2. #2
    Sencha User thejoker101's Avatar
    Join Date
    Mar 2007
    Posts
    349
    Vote Rating
    0
    thejoker101 is on a distinguished road

      0  

    Default


    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...

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    It was a bug that is fixed in the dev code. I will be deploying a new rev soon.

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    38
    Vote Rating
    0
    reignman is on a distinguished road

      0  

    Default


    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:
    Code:
    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

  5. #5
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    It's already fixed in the latest rev.
    Jack Slocum
    Ext JS Founder
    Original author of Ext JS 1, 2 & 3.
    Twitter: @jackslocum
    jack@extjs.com

Similar Threads

  1. modal:true setting for basic dialog causing page to go 0-top
    By jay@moduscreate.com in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 2 Mar 2012, 5:01 AM
  2. [Ext 1.0 alpha 2] Grid does not disappear
    By vk_phoenixfr in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 28 Feb 2007, 9:45 AM
  3. [1.0a2 Rev 5] MessageBox opens not modal (modal: true)
    By Arikon in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 Feb 2007, 9:52 PM
  4. Ext.select vs Ext.Selects?
    By martin in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 24 Feb 2007, 6:56 PM
  5. BasicDialog (modal=true) causes applet to re-init
    By msascha in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 28 Jan 2007, 3:31 AM

Thread Participants: 3