cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Grebnov (JIRA)" <>
Subject [jira] [Commented] (CB-8635) InAppBrowser on Windows adds 40px gray border, wrapper div without class or id
Date Wed, 25 Mar 2015 16:01:53 GMT


Sergey Grebnov commented on CB-8635:

There is no hardware back button on Tablet/PC devices so we still need a way to complete this
using UI. On Phone devices I agree using hardware back button is the right way to proceed,
but this is not currently supported on Windows (TODO: Sergey to add this feature to backlog).
 If you already done this then PR is very welcome.

> InAppBrowser on Windows adds 40px gray border, wrapper div without class or id
> ------------------------------------------------------------------------------
>                 Key: CB-8635
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.6.0
>         Environment: Windows 8.1, Windows Phone 8.1
>            Reporter: Brandon Paddock
> The InAppBrowserProxy on Windows 8.1 does some weird things. One of them is that it adds
a wrapper div with a bunch of inline styles on it, including a gray 40px border on all sides.
This appears even if you set the "location=no" option to disable the default browser controls.
> Because this div is inserted directly under the body element with no id or class, you
can't override its styling via CSS (and since it uses inline styles, you'd have to use !important
to override them).
> Suggested fixes:
> 1) Assign a class name to the div so it can be styled.
> 2) Don't use an inline style for the default styling. Use CSS.
> 3) Don't put this weird gray border in the default styling (it isn't there on Android
so why put it there on Windows?)
> 4) Or, remove the div entirely (at least in the location=no case).

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message