31 Aug 2012 3:39 PM #1
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 Sep 2012 3:22 PM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Did you recompile the SASS?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
2 Sep 2012 5:06 PM #3
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?
2 Sep 2012 5:14 PM #4
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.