cordova-plugin-media-capture icon indicating copy to clipboard operation
cordova-plugin-media-capture copied to clipboard

captureAudio modal's record button is cut off on iPad

Open whitmer opened this issue 3 years ago • 1 comments

Bug Report

Problem

When I call navigator.device.capture.captureAudio on iOS, the audio capture tool pops up, but I can't hit the "record" button because it's cut off.

What is expected to happen?

The record button appears at the bottom of the audio recording modal.

What does actually happen?

It looks like the capture dialog is expecting a fixed height that would be the full height of the device in portrait. However, since it's in a mostly-full-screen modal, part of it gets cut off in portrait, and the record button is completely cut off in landscape view.

Information

Using cordova-plugin-media-capture 3.0.3 "Capture"

IMG_00032 IMG_0004 3

Command or Code

Environment, Platform, Device

Version information

Using cordova-plugin-media-capture 3.0.3 "Capture" Only reproduced on iOS

Checklist

  • [x] I searched for existing GitHub issues
  • [ ] I updated all Cordova tooling to most recent version
  • [x] I included all the necessary information above

whitmer avatar Feb 08 '21 21:02 whitmer

Duplicate of #176

ath0mas avatar Feb 09 '21 20:02 ath0mas