1. #1
    Sencha User
    Join Date
    Feb 2008
    Posts
    29
    Vote Rating
    0
    solodesignz is on a distinguished road

      0  

    Default visibility:hidden, instead of display:none ?!?

    visibility:hidden, instead of display:none ?!?


    Hi,

    I'm having a weird issue. Elements are being written with "visibility:hidden" instead of "display:none".

    This is causing display issues cause items are blown out, because visibility hides the element, but doesn't collapse the bounding box.

    Ive created a few apps with EXT, and never seen this before. Makes me think I accidentally triggered some base level setting somewhere on my current app maybe?


  2. #2
    Sencha User
    Join Date
    Aug 2009
    Posts
    480
    Vote Rating
    1
    plalx has a spectacular aura about plalx has a spectacular aura about

      0  

    Default


    Try to see if there is a hideMode config somewhere.

    hideMode : String
    How this component should be hidden. Supported values are 'visibility' (css visibility), 'offsets' (negative offset p...
    How this component should be hidden. Supported values are 'visibility' (css visibility), 'offsets' (negative offset position) and 'display' (css display).

    Note: the default of 'display' is generally preferred since items are automatically laid out when they are first shown (no sizing is done while hidden).

  3. #3
    Sencha User
    Join Date
    Feb 2008
    Posts
    29
    Vote Rating
    0
    solodesignz is on a distinguished road

      0  

    Default


    Thanks for the reply.

    I did a global find on all JS files, to see if any "hideMode"s were out of place. There weren't any set to "hidden".

    Seems like this would be it, but how would you assign a hideMode to a Ext.Msg.confirm box's textfield and textarea. Those are there for the prompt, but hidden for confirm.

    There is no hideMode setting for a Msg.confirm box's internal components that i know of... So no idea how it is defaulting to "hidden".

    Pulling my hair out here =)

  4. #4
    Sencha User
    Join Date
    Feb 2008
    Posts
    29
    Vote Rating
    0
    solodesignz is on a distinguished road

      0  

    Default


    Tracked it down to a "ManagedIFrame" plugin... removed that, and everything is fine... its all minified, so hard to see what exactly inside it is causing it tho.

    Thanks for the help again

  5. #5
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    96
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    You were using a ManagedIframe for Ext 2.x in Ext 3.x. When upgrading Ext you often also need to upgrade all extensions and plugins you use.

Similar Threads

  1. Replies: 3
    Last Post: 2 Nov 2010, 10:14 AM
  2. Tree using visibility instead of display
    By alumb in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 8 Jul 2009, 1:44 PM
  3. Comboboxes have visibility set to hidden in modal window in ie6
    By levinator in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 3 Mar 2008, 11:42 AM
  4. Replies: 2
    Last Post: 17 Nov 2007, 11:08 AM
  5. BasicDialog: style="visibility:hidden.........
    By amitava in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 9 Dec 2006, 11:44 AM

Thread Participants: 2