[ https://issues.apache.org/jira/browse/CB-5755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-5755. ---------------------------------- Resolution: Won't Fix cordova-plugin-keyboard does not exist in Cordova anymore, I believe we transitioned to a new maintainer (not sure who, I think it was Ionic, years ago) > keyboard-plugin > --------------- > > Key: CB-5755 > URL: https://issues.apache.org/jira/browse/CB-5755 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-keyboard > Affects Versions: 2.7.0, 3.3.0 > Environment: xcode 5 cordova 2.7 and 3.3.0 ios 5,6,7 > Reporter: sivakamasundari > Priority: Major > Labels: keyboard-plugin > Original Estimate: 24h > Remaining Estimate: 24h > > I just tested Cordova 2.7 with iOS app and experienced several keyboard > issues. > -------------------------- > Issues: > 1. All versions: when focus on an input field then whole view is pushed up > including navbar. > 2. iOS5/6: tap on an input field to open keyboard, then a black gap is > briefly displayed at top of screen before keyboard pushes whole view up (is > it status bar?) > 3. iOS7: there is no black gap like #2 issue, but there are other issues: > - I still see accessories bar before it's removed (hidden). > - Keyboard is translucent then I can see darker background in the space where > current view is pushed up. > ---------------------------- > I made below changes in config.xml > <preference name="KeyboardShrinksView" value="false"/> > working fine in ios 5 and 6 only > <preference name="KeyboardShrinksView" value="true"/> > working fine in ios 7 only > Is there any solution which can help to fix this issues in all ios > version..???? > Also tried the below code same output :( > - > (void)didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation > { > [super didRotateFromInterfaceOrientation:fromInterfaceOrientation]; > if (self.webView){ > CGRect newFrame = self.webView.bounds; > //NSLog(@"%f" , newFrame.size.height); > > NSString *JS = [NSString stringWithFormat:@"viewport = > document.querySelector('meta[name=viewport]'); > viewport.setAttribute('content', 'user-scalable=no, initial-scale=1.0, > maximum-scale=1, minimum-scale=1, width=device-width, height=%d, > target-densitydpi=device-dpi');", (int) newFrame.size.height*1 ]; > > [self.webView stringByEvaluatingJavaScriptFromString:JS]; > } > > } -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org