[
https://issues.apache.org/jira/browse/CB-14024?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16568622#comment-16568622
]
ASF GitHub Bot commented on CB-14024:
-------------------------------------
hvaughan3 edited a comment on issue #265: CB-14024 Take into account statusbar
height when toolbar is enabled
URL:
https://github.com/apache/cordova-plugin-inappbrowser/pull/265#issuecomment-410300531
Forked and pulled in this PR. It does indeed push the content below the
status bar but it also cuts off the content at the bottom by the same amount.
You should also subtract the webview height by the status bar height to prevent
it. Something like:
[self.webView setFrame:CGRectMake(self.webView.frame.origin.x,
TOOLBAR_HEIGHT + [self getStatusBarOffset], self.webView.frame.size.width,
self.webView.frame.size.height - [self getStatusBarOffset])];
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Doesn't have into account statusbar height when toolbar is enabled
> ------------------------------------------------------------------
>
> Key: CB-14024
> URL: https://issues.apache.org/jira/browse/CB-14024
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-inappbrowser
> Affects Versions: cordova-ios 4.5.0
> Reporter: Humberto Alfonso Díaz
> Priority: Major
> Labels: inappbrowser, ios
>
> When using the following configuration:
> {code:java}
> this.browser.create(element.url, '_blank',"toolbar=yes,toolbarposition=top");
> {code}
> the plugin doesn't takes into account he statusbar height causing the webpage
> to not show properly on the header.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]