cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Pritchard (JIRA)" <>
Subject [jira] [Created] (CB-4940) iOS7 Keyboard Appearance Resizes View Frame
Date Fri, 27 Sep 2013 19:48:03 GMT
Brad Pritchard created CB-4940:

             Summary: iOS7 Keyboard Appearance Resizes View Frame
                 Key: CB-4940
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.0.0
         Environment: XCode 5, iOS 7, Phonegap 3, Sencha Touch 2.1
            Reporter: Brad Pritchard

This is a similar issue to CB-3020, albeit slightly different.

Our situation is this: we have a PhoneGap 3.0 project, using Sencha Touch as the view framework.
Our views are housed within a Sencha Touch TabPanel, which shows tabs docked at the bottom
of the viewport.

When an input receives focus, we are seeing that iOS 7 resizes the viewport to be the size
of the screen minus the height of the keyboard. Since the TabPanel is absolutely positioned
with a bottom of 0, the tabs are fixed right above the keyboard.

We would like the webView to remain the same size, and the focused input to scroll into view
when clicked. The assumption here would be that either:
# The viewport needs to be re-expanded after the keyboard shows to get it back to the height
of the screen (and thus pushing the tabs "below" the keyboard), or
# The webView and/or scrollView need to be manipulated after the keyboard shows, so that the
content of the app (namely the TabPanel) scrolls off the bottom of the shrinked viewport,
and thus out of the way.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message