Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Ext JS Premium Member neongrau's Avatar
    Join Date
    Mar 2007
    Posts
    245
    Vote Rating
    0
    neongrau is on a distinguished road

      0  

    Default 4.1 Firefox x-viewport CSS class on HTML Tag causes height problems

    4.1 Firefox x-viewport CSS class on HTML Tag causes height problems


    in the ext css files there is this:
    Code:
    .x-viewport, .x-viewport body {
        border: 0 none;
        height: 100%;
        margin: 0;
        overflow: hidden;
        padding: 0;
        position: static;
    }
    the "position: static" on the HTML tag makes the actual page 200% high.
    WHen pressing spacebar without being in an input field causes the browser to scroll below the Layout within the viewport.

    Changing the position to anything else (relative/absolute) or even just remove the declaration fixes this.

    What is it needed for?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,107
    Vote Rating
    453
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    static is the default for position rule.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member neongrau's Avatar
    Join Date
    Mar 2007
    Posts
    245
    Vote Rating
    0
    neongrau is on a distinguished road

      0  

    Default


    Default for what reason?

    Adding this into my CSS
    Code:
    .x-viewport, .x-viewport BODY {
      position: relative !important;
    }
    Fixed it in Firefox for me. Which had the same effect as just removing it via Firebug:

    firefix.png

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    15,242
    Vote Rating
    106
    evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold evant is a splendid one to behold

      0  

    Default


    What version of FF? Could you post a short test case?
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Tags for this Thread