This issue duplicates another issue.
  1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    413
    Vote Rating
    18
    jweber will become famous soon enough

      0  

    Default 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

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,397
    Vote Rating
    849
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    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
    ________________
    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 in print!

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

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    413
    Vote Rating
    18
    jweber will become famous soon enough

      0  

    Default


    Just tried it in 2.1b1; same thing.

  4. #4
    Sencha User
    Join Date
    Feb 2010
    Posts
    356
    Vote Rating
    4
    maneljn is on a distinguished road

      0  

    Default


    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

  5. #5
    Sencha User
    Join Date
    Feb 2010
    Posts
    356
    Vote Rating
    4
    maneljn is on a distinguished road

      0  

    Default


    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

  6. #6
    Sencha User
    Join Date
    Mar 2007
    Posts
    413
    Vote Rating
    18
    jweber will become famous soon enough

      0  

    Default Viewport resize problem on Android

    Viewport resize problem on Android


    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.2.1

    Browser versions tested against:
    • Android built-in browser

    DOCTYPE tested against:
    • html

    Description:
    • If you rotate the phone with the keyboard visible, then rotate back and hide the keyboard, the viewport doesn't resize to fill the screen.

    Steps to reproduce the problem:
    • On the stock Android browser, in portrait moe, load the forms demo, or any other Sencha Touch app with a text field.
    • Click inside a text field, to show the keyboard.
    • Rotate the phone to landscape mode. The keyboard will still be visible.
    • Rotate the phone back to portrait mode. The keyboard will still be visible.
    • Click Go on the keyboard, to hide it.

    The result that was expected:
    • The viewport expands to fill the screen.

    The result that occurs instead:
    • The viewport stays sized to the area that was above the keyboard.

    Test Case:
    N/A


    HELPFUL INFORMATION


    Screenshot or Video:
    See this URL for live test case: N/A


    Debugging already done:
    • This occasionally works, so try it a few times. The bug doesn't happen on Chrome.

    Possible fix:
    • not provided

    Additional CSS used:
    • base theme

    Operating System:
    • Android 4.2.2 on Galaxy Nexus

  7. #7
    Sencha User
    Join Date
    Mar 2007
    Posts
    413
    Vote Rating
    18
    jweber will become famous soon enough

      0  

    Default


    Sorry, could someone move this to Bugs?

  8. #8
    Sencha User
    Join Date
    Mar 2007
    Posts
    413
    Vote Rating
    18
    jweber will become famous soon enough

      0  

    Default


    Has there been any progress on this bug (or the one it duplicates)?

  9. #9
    Sencha User
    Join Date
    Mar 2013
    Posts
    5
    Vote Rating
    0
    sandy1 is on a distinguished road

      0  

    Default


    Hi,

    I can still reproduce this issue in a different scenario on touch-2.2.1/examples/forms sample app.

    Device : iPhone 5
    OS : iOS 6
    Sencha version : touch-2.2.1

    Following are the steps:
    i) Set autoMaximize to true in viewport config
    ii) Open the app in landscape mode
    iii) Select a textfield to open the keyboard
    iv) Rotate the device to portrait mode while the keyboard is open
    v) Screen size reduces into half of the screen size
    vi) Hide the keyboard by touching anywhere on the screen. Screen remains half of the size

    Please suggest me to overcome with this issue.

    Thanks.