[
https://issues.apache.org/jira/browse/CB-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733385#comment-13733385
]
Horst Perfect commented on CB-3020:
-----------------------------------
Hi Shazron,
I've ported my project to version 3.0 the last couple of days and i like it a
lot. Great job. :)
Unfortunately the "white bar" issue appeared again.
I've created a new project via the CLI and by setting the
HideKeyboardFormAccessoryBar and KeyboardShrinksView properties in my
config.xml the white bar appears again. I did not use any old code except the
www files from my project. I'm still running iOS 6.1.3
As a quick fix the solution Christoph described earlier worked perfectly with a
tiny tweak.
CDVViewController.m line 139
{code}
if (showEvent) {
newFrame.size.height -= keyboardFrame.size.height;
if ([@"true" isEqualToString :[self
settingForKey:@"KeyboardShrinksView"]]) {
newFrame.size.height += 45;
}
}
{code}
Horst
> HideKeyboardFormAccessoryBar and KeyboardShrinksView show white bar instead
> of removing it
> ------------------------------------------------------------------------------------------
>
> Key: CB-3020
> URL: https://issues.apache.org/jira/browse/CB-3020
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.6.0, 3.0.0
> Environment: ios 6.1.3
> Reporter: Horst Perfect
> Assignee: Shazron Abdullah
> Priority: Minor
> Labels: bug, ios, ios6.1.3
> Fix For: 2.8.0
>
>
> I use phonegap 2.6 with the two new preferences HideKeyboardFormAccessoryBar
> KeyboardShrinksView set to true. Instead of the AccessoryBar a white bar
> appears ([screenshot|http://i.stack.imgur.com/3fgV8.png]).
> This is just happening when i set *both* of the preferences to true. When i
> just set the AccessoryBar preference to true the bar disappears as planned.
> Horst
--
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: http://www.atlassian.com/software/jira