Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-8940

[Windows] Camera image z-index is too low. It sits behind JQuery mobile UI Elements (header / footer)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: None
    • Component/s: cordova-plugin-camera
    • Labels:
    • Environment:

      Windows Emulator / Nokia Lumia 920

      Description

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

        Attachments

          Activity

            People

            • Assignee:
              rakatyal Raghav Katyal
              Reporter:
              rapiddave david marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: