[ 
https://issues.apache.org/jira/browse/CB-5516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13951017#comment-13951017
 ] 

ASF GitHub Bot commented on CB-5516:
------------------------------------

GitHub user gconnolly opened a pull request:

    https://github.com/apache/cordova-plugins/pull/8

    Resize webView to handle orientation change when keyboard will hide

    The webView does not get properly resized if the orientation changes before 
the keyboard is dismissed. This issue was introduced by CB-5516. Rather 
restoring the entire savedWebViewFrame, just use the origin of the 
savedWebViewFrame to transform the the viewController.view.bounds.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gconnolly/cordova-plugins master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugins/pull/8.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #8
    
----
commit 6f60ce76e924bb82d4cabdac908aa988bebf9149
Author: Gene Connolly <connolly.g...@gmail.com>
Date:   2014-03-28T16:51:14Z

    Resize webView to handle orientation change when keyboard will hide 
    
    The webView does not get properly resized if the orientation changes before 
the keyboard is dismissed. This issue was introduced by CB-5516. Rather 
restoring the entire savedWebViewFrame, just use the origin of the 
savedWebViewFrame to transform the the viewController.view.bounds.

----


> StatusBar Plugin breaks with Keyboard Plugin ShrinksView enabled and text box 
> selected
> --------------------------------------------------------------------------------------
>
>                 Key: CB-5516
>                 URL: https://issues.apache.org/jira/browse/CB-5516
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugins
>    Affects Versions: 3.2.0
>         Environment: Xcode 5, iOS 7 simulator
>            Reporter: Jon Tancer
>            Assignee: Shazron Abdullah
>              Labels: keyboard-plugin, statusbar-plugin
>
> When the keyboard plugin and the status bar plugin are both installed and 
> configured with the following options:
> Keyboard.shrinkView(true);
> StatusBar.overlaysWebView(false);
> After tapping a select drop down or focusing on a text input, then hiding 
> native iOS keyboard/select list, it seems the webview gets pushed up behind 
> the statusbar.  The status bar is still shown (like in iOS 6), but now some 
> of the webview is hidden below it.
> Calling StatusBar.hide() then StatusBar.show() resolves the issue but is not 
> ideal.
> When the app first opens this issue is not present.  It only starts to happen 
> after a form element gains focus and the keyboard or select list native iOS 
> controls are opened then dismissed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to