You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/06/20 22:30:57 UTC

[jira] [Commented] (CB-10799) Toolbar is shown in incorrect position if inappbrowser is shown when in-call status bar is active

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

jcesarmobile commented on CB-10799:
-----------------------------------

Added screeshots

If inAppBrowser is opened with toolbar on top while in-call statusbar is present. See the gray bar between in-call statusbar and inAppBrowser toolbar. And the webview has 20 points behind the in-call statusbar, notice that the house icon is partially hidden. [1]

And it remains when the in-call statusbar disappears. [2]

If toolbar is at the bottom the only issue is the one I mentioned before, the webview has 20 points behind the toolbar (house icon hidden) [3][4]

Hardcoding the height of the toolbar used as a fake statusbar to be always 20.0 the problem disappears. [5][6][7][8]

Listening the statusbar size changes will only solve the problems when the in-call statusbar hides, as the height is 20 again, but when it shows it will be 40 and will create the problems mentioned earlier.




> Toolbar is shown in incorrect position if inappbrowser is shown when in-call status bar is active
> -------------------------------------------------------------------------------------------------
>
>                 Key: CB-10799
>                 URL: https://issues.apache.org/jira/browse/CB-10799
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Plugin InAppBrowser
>    Affects Versions: 1.3.0
>            Reporter: Martin Baker
>            Priority: Minor
>              Labels: ios, reproduced, triaged
>         Attachments: 1.png, 2.png, 3.png, 4.png, 5.png, 6.png, 7.png, 8.png
>
>
> If the in-call status bar is active when an inappbrowser is shown, and toolbar is set to top, then the toolbar is positioned 20pt lower than it should be and partially covers up the webview.
> This does not happen if the inappbrowser is shown and *then* the in-call status bar is shown.
> A similar but related problem happens if the toolbar is positioned at the bottom - there is a 20pt gap between the in-call status bar and the top of the webview. This suggests the issue is happening because the parent view is wrongly positioned 20pt lower than it should be in this situation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org