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

Tom Wilson commented on CB-3930:
--------------------------------

Tested using new plugin and 3.2 and the issue is still there with the following 
configs...


Is there a way to incorporate this code that would resize the webview with the 
same animation as the keyboard?

[UIView beginAnimations:nil context:NULL];
[UIView 
setAnimationDuration:[notification.userInfo[UIKeyboardAnimationDurationUserInfoKey]
 doubleValue]];
[UIView 
setAnimationCurve:[notification.userInfo[UIKeyboardAnimationCurveUserInfoKey] 
integerValue]];
[UIView setAnimationBeginsFromCurrentState:YES];

// work

[UIView commitAnimations];

Taken from here..
http://stackoverflow.com/questions/18837166/how-to-mimic-keyboard-animation-on-ios-7-to-add-done-button-to-numeric-keyboar

> Phonegap 2.8 KeyboardShrinksView property, white background shown while 
> keyboard transitions up
> -----------------------------------------------------------------------------------------------
>
>                 Key: CB-3930
>                 URL: https://issues.apache.org/jira/browse/CB-3930
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugins
>    Affects Versions: 2.6.0, 2.7.0, 2.8.0, 2.9.0
>            Reporter: Tom Wilson
>              Labels: ios, keyboard-plugin
>             Fix For: 3.2.0
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> While the keyboard is transitioning up, it seems the webview is already 
> resized and the background is white, thus causing the white background to be 
> shown. My HTML body background is black so it looks odd when the white 
> background flashes. Does anyone know how to update the background of the 
> UIView?
> Video reproducing the issue in slow motion. 
> http://www.youtube.com/watch?v=iOjdxJuYp8c
> Regular speed: http://www.youtube.com/watch?v=ZtTXU3zr18k
> Thanks!
> Tom



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to