cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-8940) [Windows] Camera image z-index is too low. It sits behind JQuery mobile UI Elements (header / footer)
Date Fri, 20 Nov 2015 01:37:11 GMT

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

ASF GitHub Bot commented on CB-8940:
------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-plugin-camera/pull/140


> [Windows] Camera image z-index is too low. It sits behind JQuery mobile UI Elements (header
/ footer)
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CB-8940
>                 URL: https://issues.apache.org/jira/browse/CB-8940
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 4.1.0
>         Environment: Windows Emulator / Nokia Lumia 920
>            Reporter: david marshall
>            Assignee: Raghav
>              Labels: windows
>
> Changing the values in CameraProxy.js to below works a treat
> // z-index style element for capturePreview and captureCancelButton elts
>                     // is necessary to avoid overriding by another page elements, -1
sometimes is not enough
>                     capturePreview.style.cssText = "position: fixed; left: 0; top: 0;
width: 100%; height: 100%; z-index: 9999";
>                     // Create cancel button
>                     captureCancelButton = document.createElement("button");
>                     captureCancelButton.innerText = "Cancel";
>                     captureCancelButton.style.cssText = "position: fixed; right: 0; bottom:
0; display: block; margin: 20px; z-index: 10000";



--
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


Mime
View raw message