-
4 Aug 2012 12:46 PM #1
Viewport constrained after rotating phone with keyboard visible
Viewport constrained after rotating phone with keyboard visible
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2.0.1
Browser versions tested against:- Android built-in browser
DOCTYPE tested against:- html
Description:- When you rotate the phone with the keyboard visible, then rotate it back, the viewport isn't sized correctly.
Steps to reproduce the problem:- Load the Kitchen Sink Forms demo, with the phone in portrait orientation.
- Click in any field, e.g. Password. The keyboard will appear.
- Rotate the phone to landscape.
- Rotate it back.
- Click Go on the keyboard, to hide it.
The result that was expected:- The app will take up the whole screen, as it did before.
The result that occurs instead:- The app takes up half the screen, leaving white space at the bottom.
Test Case:
see below
HELPFUL INFORMATION
Screenshot or Video:
See this URL for live test case: http://docs.sencha.com/touch/2-0/tou...tml#demo/forms
Debugging already done:- none
Possible fix:- not provided
Additional CSS used:- only default ext-all.css
Operating System:- Android 4.1 on Galaxy Nexus
-
4 Aug 2012 7:41 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
Have you tried with 2.1.0 b1? I just tried on 4.1 on my Nexus 7 but it has Chrome not the other crappy Android browser and things work find in Chrome.
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.
-
5 Aug 2012 6:01 PM #3
-
14 Mar 2013 2:53 AM #4
Do you solved this ?
I have the same problem. ST 2.1.1 with Android Samsung S2 v2.2.1
When user tap on textfield, the first time, keyboard closes automatically, the second time keyboard remains showed, but the viewport height was reduced and then if you close the keyboard, the viewport neves restores his full height.-------------------
Manel Juàrez
-
14 Mar 2013 3:32 AM #5
i think this bug TOUCH-3819 is about this problem
Where i can find information about this bug fix number ? or some patch to apply in ST 2.1.1 ??-------------------
Manel Juàrez
Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.


Reply With Quote