1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    DeLongey is on a distinguished road

      0  

    Default Unanswered: [2.1 b2] Sencha App Entirely Shrunk on Upgrade

    Unanswered: [2.1 b2] Sencha App Entirely Shrunk on Upgrade


    Noticed a really weird behavior when I upgraded to the Beta 2. The entire app basically shrinks, although it's still all sitting in the DOM.

    Not sure what the issue is, but when I try to drag it around the scrollbar is about 5px by 5px in the top left corner (basically the viewport is nothing). I'd show you a screen shot, but basically it's a blank screen.

    Does anyone know if there's a simple fix for this or will I need to wait for the next version of 2.1?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,641
    Vote Rating
    434
    Answers
    3107
    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


    Did you recompile the SASS?
    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
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    DeLongey is on a distinguished road

      0  

    Default


    Actually I'm not even using a SASS. I have a single CSS file I included when the app goes at run time. It's a workaround I'm using for a couple Phonegap-specific reasons.

    This particular CSS file, however, doesn't touch the page structure and only overrides a couple css properties in buttons and backgrounds. Will I need to start using a SASS?

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    5
    Vote Rating
    0
    DeLongey is on a distinguished road

      0  

    Default


    On a different note, I was inspecting the DOM and noticed the screen went back to normal when I changed the properties coming from the auto-generated app.css. It looks like some elements are set to absolute, with top: 100% and left: 100%. That would normally put an element entirely off of the page. Can't remember what triggered that, but I can inspect it for you and check it out.

Tags for this Thread